diff options
| author | PapyrusThePlant <[email protected]> | 2016-12-29 14:20:09 +0100 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-01 01:49:10 -0500 |
| commit | 31cd9ad37a0b68e217df3a54fb2a48d21ca8b6af (patch) | |
| tree | 013ca29c6f2522cdb86b8993e5312a92087d3109 | |
| parent | Chunk every guild if it's a user bot. (diff) | |
| download | discord.py-31cd9ad37a0b68e217df3a54fb2a48d21ca8b6af.tar.xz discord.py-31cd9ad37a0b68e217df3a54fb2a48d21ca8b6af.zip | |
[commands] Bugfix on the teardown function call.
| -rw-r--r-- | discord/ext/commands/bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index d23eeb49..b0a86ebd 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -776,7 +776,7 @@ class Bot(GroupMixin, discord.Client): pass else: try: - func(bot) + func(self) except: pass finally: |