diff options
| author | 2021-02-04 18:53:54 -0800 | |
|---|---|---|
| committer | 2021-02-04 18:53:54 -0800 | |
| commit | 3a4d38bc27dc8214af91ee8ab598a5b60897815f (patch) | |
| tree | a62995247801d05d4ca7bdab7d3b32141a6f6a85 | |
| parent | Alphabetized config-default.yml. (diff) | |
Removed unnecessary update method call.
| -rw-r--r-- | bot/exts/help_channels/_cog.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bot/exts/help_channels/_cog.py b/bot/exts/help_channels/_cog.py index 2f14146ab..d50197339 100644 --- a/bot/exts/help_channels/_cog.py +++ b/bot/exts/help_channels/_cog.py @@ -123,12 +123,11 @@ class HelpChannels(commands.Cog): await _caches.unanswered.set(message.channel.id, True) - # Not awaited because it may indefinitely hold the lock while waiting for a channel. - scheduling.create_task(self.move_to_available(), name=f"help_claim_{message.id}") - # Removing the help channel from the dynamic message, and editing/sending that message. self.available_help_channels.remove(message.channel.id) - await self.update_available_help_channels() + + # Not awaited because it may indefinitely hold the lock while waiting for a channel. + scheduling.create_task(self.move_to_available(), name=f"help_claim_{message.id}") def create_channel_queue(self) -> asyncio.Queue: """ |