diff options
Diffstat (limited to 'arthur/exts/cloudflare/zones.py')
-rw-r--r-- | arthur/exts/cloudflare/zones.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arthur/exts/cloudflare/zones.py b/arthur/exts/cloudflare/zones.py index 20169bc..3b8b3b7 100644 --- a/arthur/exts/cloudflare/zones.py +++ b/arthur/exts/cloudflare/zones.py @@ -6,8 +6,8 @@ from discord.ext import commands from arthur.apis.cloudflare import zones from arthur.bot import KingArthur -class Zones(commands.Cog): +class Zones(commands.Cog): def __init__(self, bot: KingArthur) -> None: self.bot = bot @@ -38,6 +38,7 @@ class Zones(commands.Cog): message += f"**Message**: {error.message}\n" return await ctx.send(message) + def setup(bot: KingArthur) -> None: """Add the extension to the bot.""" - bot.add_cog(Zones(bot))
\ No newline at end of file + bot.add_cog(Zones(bot)) |