mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-24 18:13:00 +00:00 
			
		
		
		
	[commands] Propagate invoked_with to subcommands.
This commit is contained in:
		| @@ -391,6 +391,7 @@ class Group(GroupMixin, Command): | |||||||
|         yield from self.callback(*ctx.args, **ctx.kwargs) |         yield from self.callback(*ctx.args, **ctx.kwargs) | ||||||
|  |  | ||||||
|         if ctx.invoked_subcommand: |         if ctx.invoked_subcommand: | ||||||
|  |             ctx.invoked_with = trigger | ||||||
|             yield from ctx.invoked_subcommand.invoke(ctx) |             yield from ctx.invoked_subcommand.invoke(ctx) | ||||||
|  |  | ||||||
| # Decorators | # Decorators | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user