From 0d7271eee442ad5de9f7bc83bf863d5ec9a150a2 Mon Sep 17 00:00:00 2001 From: yuki Date: Thu, 9 Oct 2025 00:25:02 -0300 Subject: [PATCH] correct collage exception --- commands/collage.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/commands/collage.py b/commands/collage.py index 3c938c3..d481c68 100644 --- a/commands/collage.py +++ b/commands/collage.py @@ -19,9 +19,10 @@ async def send_collage(bot: bot.Bot, ctx: nerimity.Context, entity: str, size: s if int(size.split('x')[0]) > 5 or int(size.split('x')[1]) > 5: await ctx.send(u.error_msg("Maximum size allowed is 5x5.")) return - - except ValueError: + + except Exception: await ctx.send(u.error_msg(f"Please provide a valid size.\nie `/chart{entity} 5x5`")) + return if not username: try: username = await bot.get_lastfm(ctx.author.id)