commandExecuted
Run your code once a member used a slash command
name
The name of the command
guild
The guild object where the command was used
channel
The channel object where the command was used
member
The object of the guild member who used the command
interaction
The whole interaction that Discord provides
args
The used command options with the value
think()
Let the bot thinking
reply()
Reply to the interaction with a string, MessageEmbed or components
Please note, that you can send just one Dropdown for one message
callback.edit()
Edit your responded message ( see reply() )
callback.delete()
Delete the responded message ( reply() / callback.edit() )
Return
The error message from Discord
{message: "Ok"}
Last updated
Was this helpful?