mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-24 18:13:00 +00:00 
			
		
		
		
	[commands] Fix issue with proper local error handlers not beign called.
This commit is contained in:
		| @@ -641,7 +641,7 @@ class Bot(GroupMixin, discord.Client): | |||||||
|             try: |             try: | ||||||
|                 yield from command.invoke(ctx) |                 yield from command.invoke(ctx) | ||||||
|             except CommandError as e: |             except CommandError as e: | ||||||
|                 command.dispatch_error(e, ctx) |                 ctx.command.dispatch_error(e, ctx) | ||||||
|             else: |             else: | ||||||
|                 self.dispatch('command_completion', command, ctx) |                 self.dispatch('command_completion', command, ctx) | ||||||
|         else: |         else: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user