aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Vivaan Verma <[email protected]>2021-07-25 17:27:36 +0100
committerGravatar GitHub <[email protected]>2021-07-25 17:27:36 +0100
commit00fbfd927c69388cd7304856118408ee5dfec445 (patch)
tree134e83a44097c3df5977f24e5695f6b644a284ec
parentDelete .vscode directory (diff)
Indentation fix
-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]