aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vscode/settings.json3
-rw-r--r--arthur/exts/cloudflare/zones.py8
2 files changed, 5 insertions, 6 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
deleted file mode 100644
index 163c984..0000000
--- a/.vscode/settings.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "python.formatting.provider": "black"
-}
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]