mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 01:16:21 +00:00
[commands] Bugfix on the teardown function call.
This commit is contained in:
@ -776,7 +776,7 @@ class Bot(GroupMixin, discord.Client):
|
||||
pass
|
||||
else:
|
||||
try:
|
||||
func(bot)
|
||||
func(self)
|
||||
except:
|
||||
pass
|
||||
finally:
|
||||
|
Reference in New Issue
Block a user