Skip to content

Error Logging

Shaun edited this page Sep 26, 2020 · 3 revisions

These commands allow the administrators of a server to specify a channel where fatal bot errors will be forwarded to.

Command group

Group: errorloggingconfig
Aliases: None
Preconditions: Administrator
Required Context: Guild

Commands

Command: channel <channel>
Aliases: None
Preconditions: Administrator
Parameters: <channel> - The channel that fatal error notifications will be sent to. If not specified, the channel the user sends the command in is used;
Description: Set a channel where bot fatal errors will be logged.
Expected Result: If a fatal error has occurred in the command handler, the bot will send an embed message to this channel detailing the error.

Command: toggle
Aliases: None
Preconditions: Administrator
Parameters: None
Description: Toggles the fatal error logger.
Expected Result: The bot will only send fatal errors if it has been enabled. This toggle command allows the user to change the status of the logger..