aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Vivaan Verma <[email protected]>2021-07-22 19:57:50 +0100
committerGravatar Vivaan Verma <[email protected]>2021-07-22 19:57:50 +0100
commit52722c7c930eeeb925f724b016091a666829e527 (patch)
tree325bd9525e7488b2ee31a78441c09dd3c031f306
parentStandardise responses + more (diff)
Lint fix
-rw-r--r--arthur/exts/cloudflare/zones.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/arthur/exts/cloudflare/zones.py b/arthur/exts/cloudflare/zones.py
index ed1ff0d..91eee33 100644
--- a/arthur/exts/cloudflare/zones.py
+++ b/arthur/exts/cloudflare/zones.py
@@ -22,7 +22,7 @@ class Zones(commands.Cog):
@zones.command(name="purge")
async def purge(self, ctx: commands.Context,
zone_name: Optional[str] = "pythondiscord.com"
- ) -> None:
+ ) -> None:
"""Command to clear the Cloudflare cache of the specified zone."""
pydis_zones = await zones.list_zones(zone_name)
required_id = pydis_zones[zone_name]
@@ -43,6 +43,7 @@ class Zones(commands.Cog):
await ctx.send(message)
+
def setup(bot: KingArthur) -> None:
"""Add the extension to the bot."""
bot.add_cog(Zones(bot))