🧹 Last bit of cleaning up before pushing
This commit is contained in:
@ -108,5 +108,5 @@ Things you should know about the logging:
|
||||
|
||||
### Logging rules
|
||||
1. Never call the `logThis()` function from `/utils/utilFuncs/`. Always call `bot.log`.
|
||||
1. There should be at most 3 `INFO` level logs while executing a single command. This includes the log created in the `on_command()` function in `Gwendolyn.py`, so your code for a command can at most make 2 logs of level `INFO`. `DEBUG` level logs should be used for all other logging.
|
||||
1. The `on_slash_command()` and `on_ready()` events are the only times log should be called at level 20.`DEBUG` level logs should be used for all other logging.
|
||||
1. Always provide the channel id if available. Although you shouldn't pass the channel id to a function purely to use it in logs.
|
||||
|
Reference in New Issue
Block a user