aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/exts/cloudflare/zones.py
diff options
context:
space:
mode:
authorGravatar Vivaan Verma <[email protected]>2021-07-19 15:49:41 +0100
committerGravatar Vivaan Verma <[email protected]>2021-07-19 15:49:41 +0100
commitd8fbfffebfac31604c7b6fcf9b5b96a8e945791b (patch)
treee6becef46e0639de9ebece0405f36cefc7570336 /arthur/exts/cloudflare/zones.py
parentFinished 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.py5
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))