mirror of https://github.com/stijndcl/didier
				
				
				
			Ignore spammy error that i can't do anything about
							parent
							
								
									0f973efe29
								
							
						
					
					
						commit
						9341554040
					
				|  | @ -150,6 +150,9 @@ class Events(commands.Cog): | ||||||
| 
 | 
 | ||||||
|         if isinstance(err, commands.CheckFailure): |         if isinstance(err, commands.CheckFailure): | ||||||
|             return await ctx.respond("Je hebt geen toegang tot dit commando.", ephemeral=True) |             return await ctx.respond("Je hebt geen toegang tot dit commando.", ephemeral=True) | ||||||
|  |         elif isinstance(err, discord.NotFound): | ||||||
|  |             print("Don't care") | ||||||
|  |             return | ||||||
| 
 | 
 | ||||||
|         usage = stringFormatters.format_slash_command_usage(ctx.interaction) |         usage = stringFormatters.format_slash_command_usage(ctx.interaction) | ||||||
|         await self.sendErrorEmbed(err, "Slash Command", usage) |         await self.sendErrorEmbed(err, "Slash Command", usage) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue