From 37dfe38af5603ccbbf820dc4de3aaf88e582fc58 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 4 Jun 2016 22:29:50 -0400 Subject: [commands] Fix bug where Context.command would not update. --- discord/ext/commands/bot.py | 1 - 1 file changed, 1 deletion(-) (limited to 'discord/ext/commands/bot.py') 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: -- cgit v1.2.3