aboutsummaryrefslogtreecommitdiffstats
path: root/bot/bot.py
diff options
context:
space:
mode:
authorGravatar ks123 <[email protected]>2020-03-07 10:00:47 +0200
committerGravatar ks123 <[email protected]>2020-03-07 10:00:47 +0200
commit62cf4a69eec0e5702b268611635d574d2693f986 (patch)
treeda88b193172b88acec1e5eb207b4c1bd551a3d51 /bot/bot.py
parent(Help): Made modifications to original code to make this working in SeasonalB... (diff)
(Help): Added unloading block in cogs loading
Diffstat (limited to 'bot/bot.py')
-rw-r--r--bot/bot.py2
1 files changed, 1 insertions, 1 deletions
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