diff options
author | 2020-03-07 10:00:47 +0200 | |
---|---|---|
committer | 2020-03-07 10:00:47 +0200 | |
commit | 62cf4a69eec0e5702b268611635d574d2693f986 (patch) | |
tree | da88b193172b88acec1e5eb207b4c1bd551a3d51 /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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |