aboutsummaryrefslogtreecommitdiffstats
path: root/arthur/exts/cloudflare/zones.py
diff options
context:
space:
mode:
Diffstat (limited to 'arthur/exts/cloudflare/zones.py')
-rw-r--r--arthur/exts/cloudflare/zones.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/arthur/exts/cloudflare/zones.py b/arthur/exts/cloudflare/zones.py
index 91eee33..564dd2e 100644
--- a/arthur/exts/cloudflare/zones.py
+++ b/arthur/exts/cloudflare/zones.py
@@ -20,9 +20,11 @@ class Zones(commands.Cog):
await ctx.send_help(ctx.command)
@zones.command(name="purge")
- async def purge(self, ctx: commands.Context,
- zone_name: Optional[str] = "pythondiscord.com"
- ) -> None:
+ async def purge(
+ self,
+ ctx: commands.Context,
+ zone_name: Optional[str] = "pythondiscord.com"
+ ) -> 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]