Abstract
Readonly
botReadonly
logRuns when an autocomplete interaction is called for this function.
Autocomplete interaction.
Abstract
createCreate the SlashCommandBuilder.
The command
Abstract
executeRuns when the command is run.
Command interaction
User who ran it
Abstract
getRuns when the command is run only if the command is run in a DM or in a server without the bot
Command interaction
The base class for creating commands.
See Bot.refreshCommands for an example implementation.