diff options
| author | Rapptz <[email protected]> | 2016-06-04 22:29:50 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-06-04 22:29:50 -0400 |
| commit | 37dfe38af5603ccbbf820dc4de3aaf88e582fc58 (patch) | |
| tree | b89b5a2bf9fa37d55e83842bb83a25f1a039077c /discord/ext/commands/bot.py | |
| parent | [commands] Fix bug where subgroups would be repeatedly called. (diff) | |
| download | discord.py-37dfe38af5603ccbbf820dc4de3aaf88e582fc58.tar.xz discord.py-37dfe38af5603ccbbf820dc4de3aaf88e582fc58.zip | |
[commands] Fix bug where Context.command would not update.
Diffstat (limited to 'discord/ext/commands/bot.py')
| -rw-r--r-- | discord/ext/commands/bot.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index 59a498d7..8814021b 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -638,7 +638,6 @@ class Bot(GroupMixin, discord.Client): if invoker in self.commands: command = self.commands[invoker] self.dispatch('command', command, ctx) - ctx.command = command try: yield from command.invoke(ctx) except CommandError as e: |