diff options
| author | Rapptz <[email protected]> | 2016-06-10 21:05:42 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-06-10 21:05:42 -0400 |
| commit | 1228159f3010e2bb9255c91f9ca1951e3954fcf1 (patch) | |
| tree | b8c5c97fdb5cb3c9c2b96f3340690bcf5e94cd26 | |
| parent | [commands] Make it so CommandError does not contain @everyone mentions. (diff) | |
| download | discord.py-1228159f3010e2bb9255c91f9ca1951e3954fcf1.tar.xz discord.py-1228159f3010e2bb9255c91f9ca1951e3954fcf1.zip | |
[commands] Fix bug with Context.command not updating in groups.
This happened when `invoke_without_command` was set to True.
| -rw-r--r-- | discord/ext/commands/core.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index b9245553..ac91933d 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -648,6 +648,7 @@ class Group(GroupMixin, Command): # undo the trigger parsing view.index = previous view.previous = previous + ctx.command = self self._verify_checks(ctx) yield from self._parse_arguments(ctx) injected = inject_context(ctx, self.callback) |