parent
f8e428bd5b
commit
6ea7fce828
@ -437,4 +437,7 @@ class Cog(metaclass=CogMeta):
|
|||||||
if cls.bot_check_once is not Cog.bot_check_once:
|
if cls.bot_check_once is not Cog.bot_check_once:
|
||||||
bot.remove_check(self.bot_check_once, call_once=True)
|
bot.remove_check(self.bot_check_once, call_once=True)
|
||||||
finally:
|
finally:
|
||||||
|
try:
|
||||||
self.cog_unload()
|
self.cog_unload()
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user