aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/help_channels/_cog.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/exts/help_channels/_cog.py b/bot/exts/help_channels/_cog.py
index e70cfc71d..16f6b10bd 100644
--- a/bot/exts/help_channels/_cog.py
+++ b/bot/exts/help_channels/_cog.py
@@ -242,6 +242,10 @@ class HelpChannels(commands.Cog):
for channel in channels[:abs(missing)]:
await self.unclaim_channel(channel)
+ # Getting channels that need to be included in the dynamic message.
+ await self.update_available_help_channels()
+ log.trace("Dynamic available help message updated.")
+
async def init_categories(self) -> None:
"""Get the help category objects. Remove the cog if retrieval fails."""
log.trace("Getting the CategoryChannel objects for the help categories.")
@@ -290,10 +294,6 @@ class HelpChannels(commands.Cog):
log.trace("Attempting to fetch How-to-get-help dynamic message ID.")
self.dynamic_message = await _caches.dynamic_message.get("message_id")
- # Getting channels that need to be included in the dynamic message.
- await self.update_available_help_channels()
- log.trace("Dynamic available help message updated.")
-
await self.init_available()
_stats.report_counts()