[commands] Bugfix on the teardown function call.

This commit is contained in:
PapyrusThePlant 2016-12-29 14:20:09 +01:00 committed by Rapptz
parent a8264f6540
commit 31cd9ad37a

View File

@ -776,7 +776,7 @@ class Bot(GroupMixin, discord.Client):
pass
else:
try:
func(bot)
func(self)
except:
pass
finally: