Skip to content
hiei.js

ModalSubmission

An interaction created by someone submitting a modal.

Parameters

ParameterTypeDefaultRequiredDescription
idStringnoneCustom ID of the submitted modal

Methods

run()

Runs when the modal is submitted.

ParameterTypeDescription
interactionModalSubmitInteractionThe interaction created by this modal submission

Further reading