diff options
author | 2021-07-19 15:49:41 +0100 | |
---|---|---|
committer | 2021-07-19 15:49:41 +0100 | |
commit | d8fbfffebfac31604c7b6fcf9b5b96a8e945791b (patch) | |
tree | e6becef46e0639de9ebece0405f36cefc7570336 /arthur/exts/cloudflare/zones.py | |
parent | Finished the CF cache purge command (diff) |
Lint all code with black
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)) |