The user that started the interaction
Raw access to this values array has been superseded and will now cause a typing error. Please migrate to the newer accessor methods: getTextInputValue, etc...
Acknowledge this interaction and display a "thinking" state to the user for you to then send a followUp message later.
You have to ack interactions within 3 seconds but if you are doing things that can take longer than that you can use this function first to tell discord that you are processing the interaction then send the message itself later.
Optional fields: InteractionCreateMessageFieldsAcknowledge this interaction and update the message the component was on at a later time (within 15 mins).
You have to ack interactions within 3 seconds but if you are doing things that can take longer than that you can use this function first to tell discord that you are processing the interaction then update the message later.
Use updateOriginalResponse to update the message
Acknowledge this interaction and send a message in response to this interaction
Acknowledge this interaction and update the message the component was on
Use updateOriginalResponse to update the message
Gets a channel select menu value
The component value if the component both exists and is a channel select menu, null otherwise
Gets the checkbox group values
The component values if the component both exists and is a checkbox group, null otherwise
Gets a checkbox value
The component value if the component both exists and is a checkbox, null otherwise
Gets the file upload value
The component value if the component both exists and is a checkbox, null otherwise
Gets a mentionable select menu value
The component value if the component both exists and is a mentionable select menu, null otherwise
Gets a role select menu value
The component value if the component both exists and is a role select menu, null otherwise
Gets a select menu value
The component value if the component both exists and is a select menu, null otherwise
Gets a text input value
The component value if the component both exists and is a text input, null otherwise
Gets a user select menu value
The component value if the component both exists and is a user select menu, null otherwise
Optional flags: InteractionMessageFlagsOptional flags: InteractionMessageFlagsuse createFollowup instead
use createFollowup instead
Generated using TypeDoc
Base interaction class, this class should be considered UNSTABLE and may change a lot in the future.