From b85aeeeceedb4038f65eeaa1158695e915da40fc Mon Sep 17 00:00:00 2001 From: Luke R Date: Tue, 11 Feb 2025 09:55:03 -0800 Subject: [PATCH] handle exclamation marks --- app/cogs/cheeky_functions.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/cogs/cheeky_functions.py b/app/cogs/cheeky_functions.py index bd32e8e4..6b39df42 100755 --- a/app/cogs/cheeky_functions.py +++ b/app/cogs/cheeky_functions.py @@ -393,8 +393,12 @@ class Cheeky(commands.Cog): ) async def bigtext(self, ctx: commands.Context, input_string: str): final = [ - ":regional_indicator_{}:".format(c) if c != " " else " " - for c in input_string + ( + ":exclamation:" + if c == "!" + else ":regional_indicator_{}:".format(c) if c != " " else " " + ) + for c in input_string.lower() ] await ctx.respond("".join(final))