diff --git a/cogs/bot.py b/cogs/bot.py index 0f32129..4eac044 100644 --- a/cogs/bot.py +++ b/cogs/bot.py @@ -48,6 +48,8 @@ async def on_command_error(self, ctx, error): ephemeral=True, ) elif isinstance(error, commands.BadFlagArgument): + if isinstance(error.original, commands.ConversionError): + return await ctx.send(error.original.original, ephemeral=True) await ctx.send(error.original, ephemeral=True) elif isinstance(error, commands.CheckFailure): await ctx.send(error, ephemeral=True)