-
Notifications
You must be signed in to change notification settings - Fork 0
Manager
ManagerListener is a special CommandListener that is primarily involved in managing other modules. The Manager can enable, disable, and reload modules, as well as temporarily prevent listeners from sending exception stack traces to the owners' DMs, as well as allow their retrieval on demand. The Manager is the only module that cannot be disabled through settings or the /disable command.
Shuts off Modbot. If running in a panel container, such as on Pterodactyl, the panel may restart the bot.
Syntax: /disable <module>
Disables a module, e.g. /disable reminder will disable the Reminder module. This runs the module's respective disable() method. Manager will not disable itself.
Same as /disable, but enables modules instead.
Lists all enabled and disabled modules, in alphabetical order.
Syntax: /reload [module]
If a module name is provided, reloads that module. Otherwise, reloads all modules. This runs the module's respective reload() method.
Syntax: /exception [index]
Sends the stack trace of the uncaught exception to DMs.
index is the index of the uncaught exception. This defaults to the last exception if this argument is omitted.
Toggles "do not disturb" mode. If enabled, Modbot will not automatically DM stack traces of uncaught exceptions to the bot owners.
When this is enabled, /exception is the only way to retrieve stack traces through Discord.