mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-21 08:17:47 +00:00
[commands] Bugfix on the teardown function call.
This commit is contained in:
parent
a8264f6540
commit
31cd9ad37a
@ -776,7 +776,7 @@ class Bot(GroupMixin, discord.Client):
|
||||
pass
|
||||
else:
|
||||
try:
|
||||
func(bot)
|
||||
func(self)
|
||||
except:
|
||||
pass
|
||||
finally:
|
||||
|
Loading…
x
Reference in New Issue
Block a user