Modules Configuration Category

modules.channels

A mapping of what channels a given module can operate on. If no mapping is given, a module operates on all channels. If ! is included as a channel, it switches from a whitelist to a blacklist, enabling you to exclude certain channels instead of allow certain channels. Restricting a module to a channel DOES NOT restrict its commands to that channel.

modules.commandchannels

A map of which channels commands are allowed to run on. No entry means a command can be run anywhere. If ! is included as a channel, it switches from a whitelist to a blacklist, enabling you to exclude certain channels instead of allow certain channels.

modules.commanddisabled

A list of disabled commands. Disabled commands can still be run by administrators, but can't be run by the bot and will not function as a bored command.

modules.commandlimits

A map of timeouts for commands. A value of 30 means the command can't be used more than once every 30 seconds.

modules.commandmaxduration

Default: 20. This means that by default, at most 3 commands can be run every 20 seconds.

modules.commandperduration

Maximum number of commands that can be run within commandmaxduration seconds. Default: 3

modules.commandroles

A map of which roles are allowed to run which command. If no mapping exists, everyone can run the command.

modules.disabled

A list of disabled modules. This disables any hooks the modules normally process, and also disables all commands inside that module (although commands can be selectively re-enabled without enabling the module).