aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-11-20 16:42:24 -0800
committerGravatar MarkKoz <[email protected]>2020-11-20 16:43:19 -0800
commit47d65fca599d138098d5021d403db78e4abc0e7a (patch)
tree46b4d3fe80368f6cb280c6dfadd3e17f05bc62c8
parentHelp channels: move all caches to a separate module (diff)
Help channels: merge 2 imports into 1
The import was an outlier compared to how the other modules were imported. It's nicer to keep the imports consistent.
-rw-r--r--bot/exts/help_channels/_cog.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bot/exts/help_channels/_cog.py b/bot/exts/help_channels/_cog.py
index a17213323..638d00e4a 100644
--- a/bot/exts/help_channels/_cog.py
+++ b/bot/exts/help_channels/_cog.py
@@ -10,8 +10,7 @@ from discord.ext import commands
from bot import constants
from bot.bot import Bot
-from bot.exts.help_channels import _caches, _channel, _cooldown, _message
-from bot.exts.help_channels._name import create_name_queue
+from bot.exts.help_channels import _caches, _channel, _cooldown, _message, _name
from bot.utils import channel as channel_utils
from bot.utils.scheduling import Scheduler
@@ -237,7 +236,7 @@ class HelpChannels(commands.Cog):
await _cooldown.check_cooldowns(self.scheduler)
self.channel_queue = self.create_channel_queue()
- self.name_queue = create_name_queue(
+ self.name_queue = _name.create_name_queue(
self.available_category,
self.in_use_category,
self.dormant_category,