diff options
| author | 2021-07-25 17:28:02 +0100 | |
|---|---|---|
| committer | 2021-07-25 17:28:02 +0100 | |
| commit | e9d20bd6f3994a07c0503b524498e9691f5a0fbd (patch) | |
| tree | 134e83a44097c3df5977f24e5695f6b644a284ec /arthur | |
| parent | Add .vscode to .gitignore (diff) | |
| parent | Indentation fix (diff) | |
Fix function formatting
Diffstat (limited to 'arthur')
| -rw-r--r-- | arthur/exts/cloudflare/zones.py | 8 |
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] |