From e93b4ae43a6fe9c9f2c798c9ee41233c42daee71 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sun, 18 Jul 2021 13:15:02 +0100 Subject: fix: import sorting --- arthur/exts/error_handler/error_handler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.3