mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-07 17:39:03 +00:00
[commands] Document exceptions being ignored in teardown and cog_unload
Co-authored-by: Josh <josh.ja.butt@gmail.com>
This commit is contained in:
1 parent
0e727d8e6d
commit
2ab6541715
2 files changed
+4
No files matched your search
@@ -550,6 +550,8 @@ class Cog(metaclass=CogMeta):
|
||||
|
||||
Subclasses must replace this if they want special unloading behaviour.
|
||||
|
||||
Exceptions raised in this method are ignored during extension unloading.
|
||||
|
||||
.. versionchanged:: 2.0
|
||||
|
||||
This method can now be a :term:`coroutine`.
|
||||
|
||||
Reference in new issue
Block a user