The ID of the channel this command occurred in.
The ID of the guild this command occurred in.
The unique ID for this interaction event.
A reference to the member that performed the command.
Manually acknowledges an interaction, using the options passed in the first argument.
Usually used in combination with ICommandConfig.ackBehavior set to MANUAL.
Options for this acknowledgement.
Deletes the original response message, if sent.
This function will error if called before acknowledging the command interaction.
Edits the original response message, if sent.
This function will error if called before acknowledging the command interaction.
A string or object with outgoing response data.
Retrieves the channel object for the channel this command was ran in.
Retrieves the guild object for the guild this command was ran on.
Responds with the given message contents/options.
When successful this returns a SlashCommandResponse
that you may edit or delete later.
Note: You may respond to an interaction more than once.
A string or object with outgoing response data.
Responds with a message seen only by the invoker of the command.
Once sent, ephemeral replies may not be edited or deleted. As such, this function's return type is void.
This is useful for instances where you don't need to announce the reply to all users in the channel.
A string or object with outgoing response data.
Generated using TypeDoc
Information contained in a Slash Command interaction request from Discord.