aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-24 14:56:53 -0800
committerGravatar MarkKoz <[email protected]>2020-03-22 15:54:35 -0700
commit6f9167b3cc016b55265e9692c930924a751a3e10 (patch)
tree91727fcf8b41e1a9f9aff90dc7dd9c2127296f1e
parentHelpChannels: implement move_idle_channels (diff)
HelpChannels: fix creation of queues in init_cog
* Remove await from create_channel_queue * Call the correct function to create the name queue
-rw-r--r--bot/cogs/help_channels.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py
index c8c437145..3757f0581 100644
--- a/bot/cogs/help_channels.py
+++ b/bot/cogs/help_channels.py
@@ -153,8 +153,8 @@ class HelpChannels(Scheduler, commands.Cog):
await self.init_categories()
- self.channel_queue = await self.create_channel_queue()
- self.name_queue = await self.name_queue()
+ self.channel_queue = self.create_channel_queue()
+ self.name_queue = self.create_name_queue()
await self.init_available()
await self.move_idle_channels()