diff options
-rw-r--r-- | arthur/exts/error_handler/error_handler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arthur/exts/error_handler/error_handler.py b/arthur/exts/error_handler/error_handler.py index 2905fc3..09653f8 100644 --- a/arthur/exts/error_handler/error_handler.py +++ b/arthur/exts/error_handler/error_handler.py @@ -1,10 +1,10 @@ """This cog provides error handling for King Arthur.""" from discord import Message -from arthur.utils import generate_error_embed from discord.ext import commands from discord.ext.commands import Cog from arthur.bot import KingArthur +from arthur.utils import generate_error_embed class ErrorHandler(Cog): @@ -55,6 +55,7 @@ class ErrorHandler(Cog): ) ) + def setup(bot: KingArthur) -> None: """Add cog to bot.""" bot.add_cog(ErrorHandler(bot)) |