Optional
Readonly
blockedWhether the command will be blocked in DMs. By default, commands are allowed in DMs.
Discord Slash Command
Readonly
executeCommand execution function.
The Discord client.
The interaction that triggered the command.
Additional arguments
A promise that resolves when the command is done executing.
Optional
Readonly
voiceWhether the command requires the user to be in a voice channel.
Interface for a Discord Slash Command.