aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/ext/commands/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index d0e40f9f..65476044 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -573,7 +573,7 @@ class Group(GroupMixin, Command):
injected = inject_context(ctx, self.callback)
yield from injected(*ctx.args, **ctx.kwargs)
- if ctx.invoked_subcommand:
+ if trigger and ctx.invoked_subcommand:
ctx.invoked_with = trigger
yield from ctx.invoked_subcommand.invoke(ctx)
elif not early_invoke: