mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-25 10:32:59 +00:00 
			
		
		
		
	| @@ -890,6 +890,8 @@ class BotBase(GroupMixin): | |||||||
|             try: |             try: | ||||||
|                 if await self.can_run(ctx, call_once=True): |                 if await self.can_run(ctx, call_once=True): | ||||||
|                     await ctx.command.invoke(ctx) |                     await ctx.command.invoke(ctx) | ||||||
|  |                 else: | ||||||
|  |                     raise errors.CheckFailure('The global check once functions failed.') | ||||||
|             except errors.CommandError as exc: |             except errors.CommandError as exc: | ||||||
|                 await ctx.command.dispatch_error(ctx, exc) |                 await ctx.command.dispatch_error(ctx, exc) | ||||||
|             else: |             else: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user