aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-29 09:39:24 -0800
committerGravatar MarkKoz <[email protected]>2020-03-22 15:54:42 -0700
commit0f36d442afc9633263d2a7f9a7d5f09aa6a5ac86 (patch)
treea74c64a1f1c96680805889fff321920a835275c2
parentHelpChannels: remove loop arg from schedule_task calls (diff)
HelpChannels: fix candidate channel not being returned after waiting
-rw-r--r--bot/cogs/help_channels.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py
index fc944999f..8da07e9f7 100644
--- a/bot/cogs/help_channels.py
+++ b/bot/cogs/help_channels.py
@@ -199,7 +199,7 @@ class HelpChannels(Scheduler, commands.Cog):
if not channel:
log.info("Couldn't create a candidate channel; waiting to get one from the queue.")
await self.notify()
- await self.wait_for_dormant_channel()
+ channel = await self.wait_for_dormant_channel()
return channel