diff options
-rw-r--r-- | bot/exts/help_channels/__init__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bot/exts/help_channels/__init__.py b/bot/exts/help_channels/__init__.py index 00b4a735b..643497b9f 100644 --- a/bot/exts/help_channels/__init__.py +++ b/bot/exts/help_channels/__init__.py @@ -1,8 +1,15 @@ from bot.bot import Bot +from bot.constants import HelpChannels from bot.exts.help_channels._cog import HelpForum +from bot.log import get_logger + +log = get_logger(__name__) async def setup(bot: Bot) -> None: """Load the HelpForum cog.""" + if not HelpChannels.enable: + log.warning("HelpChannel.enabled set to false, not loading help channel cog.") + return await bot.add_cog(HelpForum(bot)) |