From 62cf4a69eec0e5702b268611635d574d2693f986 Mon Sep 17 00:00:00 2001 From: ks123 Date: Sat, 7 Mar 2020 10:00:47 +0200 Subject: (Help): Added unloading block in cogs loading --- bot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/bot.py') diff --git a/bot/bot.py b/bot/bot.py index 2a723021..8b389b6a 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -28,7 +28,7 @@ class SeasonalBot(commands.Bot): # Unload all cogs extensions = list(self.extensions.keys()) for extension in extensions: - if extension != "bot.seasons": # We shouldn't unload the manager. + if extension not in ["bot.seasons", "bot.help"]: # We shouldn't unload the manager and help. self.unload_extension(extension) # Load in the list of cogs that was passed in here -- cgit v1.2.3