diff options
Diffstat (limited to 'arthur/exts/cloudflare/zones.py')
-rw-r--r-- | arthur/exts/cloudflare/zones.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arthur/exts/cloudflare/zones.py b/arthur/exts/cloudflare/zones.py index 7f9ca35..f265651 100644 --- a/arthur/exts/cloudflare/zones.py +++ b/arthur/exts/cloudflare/zones.py @@ -75,6 +75,6 @@ class Zones(commands.Cog): await ctx.send(":cloud: Pick which zone(s) that should have their cache purged", view=view) -def setup(bot: KingArthur) -> None: +async def setup(bot: KingArthur) -> None: """Add the extension to the bot.""" - bot.add_cog(Zones(bot)) + await bot.add_cog(Zones(bot)) |