Tracebacks for exceptions are usually sent to a debug / spam channel in Discord, but sometimes certain types of exceptions (especially ones involving connection issues) are extremely long. Due to a limit in the number of characters you can send in one message, oftentimes the original error is obscured by Discord's 400 BAD REQUEST error.
If a traceback is longer than 2000 characters, some of the traceback should be cut out and the bot owner should be told to read the full exception in the console or logs.
Tracebacks for exceptions are usually sent to a debug / spam channel in Discord, but sometimes certain types of exceptions (especially ones involving connection issues) are extremely long. Due to a limit in the number of characters you can send in one message, oftentimes the original error is obscured by Discord's 400 BAD REQUEST error.
If a traceback is longer than 2000 characters, some of the traceback should be cut out and the bot owner should be told to read the full exception in the console or logs.