aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/error_handler.py
diff options
context:
space:
mode:
authorGravatar ToxicKidz <[email protected]>2021-05-04 15:44:31 -0400
committerGravatar ToxicKidz <[email protected]>2021-05-04 15:44:31 -0400
commit6d31315fa72ca9e6ccd7553e78548fed6e5e4829 (patch)
tree59632d71bab9bfcb5387743ab8d263d394f13943 /bot/exts/evergreen/error_handler.py
parentApply suggested changes to hanukkah_embed.py (diff)
fix: Pass bot only when __init__ is defined
Diffstat (limited to 'bot/exts/evergreen/error_handler.py')
-rw-r--r--bot/exts/evergreen/error_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/error_handler.py b/bot/exts/evergreen/error_handler.py
index 5cd8d28d..62529f52 100644
--- a/bot/exts/evergreen/error_handler.py
+++ b/bot/exts/evergreen/error_handler.py
@@ -135,4 +135,4 @@ class CommandErrorHandler(commands.Cog):
def setup(bot: Bot) -> None:
"""Load the ErrorHandler cog."""
- bot.add_cog(CommandErrorHandler(bot))
+ bot.add_cog(CommandErrorHandler())