Error Messages

Thus far, I have made error messages throughout the bot using the following pattern. These messages are sent to standard output(terminal) when the bot has an error.

Due to the structure of discord and the bot, exceptions and errors DO NOT crash the bot regardless if they are caught or not. With this in mind, we still want to catch all possible exceptions and errors and display error messages. This will make debugging easier and minimize unexpected outcomes of faulty code.\

Syntax:

Error: error message [function tag / identifiable name]

Example:

Error: config file could not be found [main::getToken]


Revision #1
Created 18 May 2025 03:13:18 by Admin
Updated 18 May 2025 03:13:57 by Admin