ChatCommandsBuilder
class ChatCommandsBuilder
Builder used for configuring the bot's chat command options.
Properties
Link copied to clipboard
List of command checks.
Link copied to clipboard
Prefix to require for command invocations on Discord. Defaults to "!".
Link copied to clipboard
Whether to ignore command invocations in messages sent by the bot. Defaults to true.
Link copied to clipboard
Whether to invoke commands on bot mentions, in addition to using chat prefixes. Defaults to true.
Functions
Link copied to clipboard
Define a check which must pass for the command to be executed. This check will be applied to all commands.
Overloaded check function to allow for DSL syntax.
Link copied to clipboard
Register the builder used to create the ChatCommandRegistry. You can change this if you need to make use of a subclass.