-
Notifications
You must be signed in to change notification settings - Fork 0
07) Command Modules
CommandModules are there for easy access and to group commands. Any command module provided to the builder can be used as a parameter in a command. The intent of command modules is to provided access to guild settings and other objects not easily obtainable with parameter mapping such as a specific Executor Pool or something.
The prefixes for each guild are provided via a PrefixModule
.
By default, the prefix is set to the most common one !
. Mentions are also supported as a prefix.
If one wishes to use a different unmodifiable prefix, one can use BreadBotClientBuilder
#addDefaultPrefixModule(String newPrefix)
.
If one wishes to implement a prefix on a guild by guild basis, one can supply a where the prefix is supplied via PrefixModule#getPrefix(Guild)
.