diff options
| author | 2021-07-18 13:15:02 +0100 | |
|---|---|---|
| committer | 2021-07-18 13:15:02 +0100 | |
| commit | e93b4ae43a6fe9c9f2c798c9ee41233c42daee71 (patch) | |
| tree | 16a465c6f36c382fb1fa81c7abc0cf356530d5d6 /arthur/exts | |
| parent | feat: case insensitive commands (diff) | |
fix: import sorting
Diffstat (limited to 'arthur/exts')
| -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))  |