Abstract
Command ID.
Options for the command.
Command names.
Default prompt options.
The category this module belongs to.
The ID of the category this module belongs to.
Usable only in this channel type.
The client thant instantiated this module.
Permissions required to run command by the client.
Cooldown in milliseconds.
Description of the command.
Whether or not this command can be ran by an edit.
The filepath of this module.
The handler for this module.
The ID of this module.
Optional
ignoreID of user(s) to ignore cooldown or a function to ignore.
Optional
ignoreID of user(s) to ignore userPermissions
checks or a function to ignore.
The slash command localizations.
Optional
lockThe key supplier for the locker.
Optional
lockerStores the current locks.
Whether or not the command can only be run in NSFW channels.
Usable only by the client owner.
Optional
prefixCommand prefix overwrite.
Uses allowed before cooldown.
Optional
regexThe regex trigger for this command.
Optional
slashMark command as slash command and set information.
Optional
slashInteraction context(s) where the command can be used
Only for globally-scoped commands
Optional
slashThe default bitfield used to determine whether this command be used in a guild
Optional
slashWhether the command is enabled in DMs
Cannot be enabled for commands that specify slashGuilds
Optional
slashWhether slash command responses for this command should be ephemeral or not.
Optional
slashAssign slash commands to Specific guilds. This option will make the commands not register globally, but only in the chosen servers.
Optional
slashInstallation context(s) where the command is available
Only for globally-scoped commands
Only allows this command to be executed as a slash command.
Optional
slashOptions for using the slash command.
Whether or not to allow client superUsers(s) only.
Whether or not to type during command execution.
Optional
userPermissions required to run command by the user.
Abstract
argsGenerator for arguments.
When yielding argument options, that argument is ran and the result of the processing is given.
The last value when the generator is done is the resulting args
for the command's exec
.
Message that triggered the command.
Parsed content.
Argument processing state.
Abstract
autocompleteAbstract
beforeRuns before argument parsing and execution.
Message being handled.
Abstract
conditionChecks if the command should be ran by using an arbitrary condition.
Message being handled.
Abstract
execExecutes the command.
Message that triggered the command.
Evaluated arguments.
Abstract
execExecute the slash command
Message for slash command
Slash command options
Parses content using the command's arguments.
Message to use.
String to parse.
Represents a command.