diff options
author | 2021-03-12 12:16:17 -0800 | |
---|---|---|
committer | 2021-03-12 12:16:17 -0800 | |
commit | c242c373be2cc5f5d577ba18e5e213fc8aed22bf (patch) | |
tree | d3f79c3a6ff427774f6e053f80d1a84488dc92dc | |
parent | Cleared up messages in logs. (diff) |
First dynamic update moved to the init_available method.
-rw-r--r-- | bot/exts/help_channels/_cog.py | 8 |
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() |