mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-12-13 02:42:33 +00:00
[commands] Fix bug where Context.command would not update.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user