diff options
author | 2020-03-22 18:15:44 +0100 | |
---|---|---|
committer | 2020-03-22 18:18:17 +0100 | |
commit | 88a385c501d57db83c7c9ef7ddc8b3d41858e6fd (patch) | |
tree | 30766f0a2b74a1e5c6cdcec8c07ea7495cf02b87 | |
parent | Deseasonify: return failed assets (diff) |
Deseasonify: await coroutine
Fixed a bug where the `cycle` coroutine wasn't being awaited when
called via a command.
-rw-r--r-- | bot/branding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/branding.py b/bot/branding.py index d9f1373a..6abcea61 100644 --- a/bot/branding.py +++ b/bot/branding.py @@ -332,7 +332,7 @@ class BrandingManager(commands.Cog): async def branding_cycle(self, ctx: commands.Context) -> None: """Force cycle guild icon.""" async with ctx.typing(): - success = self.cycle() + success = await self.cycle() await ctx.send("Icon cycle successful" if success else "Icon cycle failed") @branding_cmds.command(name="apply") |