aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-03-22 18:15:44 +0100
committerGravatar kwzrd <[email protected]>2020-03-22 18:18:17 +0100
commit88a385c501d57db83c7c9ef7ddc8b3d41858e6fd (patch)
tree30766f0a2b74a1e5c6cdcec8c07ea7495cf02b87
parentDeseasonify: 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.py2
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")