From adf33171d296257ea60041450ec5b3b9b23624c9 Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Mon, 19 Jul 2021 13:37:28 -0600 Subject: [PATCH] Close #45, issue was due to capitalization --- jarvis/cogs/util.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jarvis/cogs/util.py b/jarvis/cogs/util.py index 59f8bd0..a081b40 100644 --- a/jarvis/cogs/util.py +++ b/jarvis/cogs/util.py @@ -69,7 +69,9 @@ class UtilCog(commands.Cog): ) async def _rcauto(self, ctx: SlashContext, text: str): to_send = "" - if len(text) == 1 and not re.match(r"^[A-Z0-9-()$@!?^'#. ]$", text): + if len(text) == 1 and not re.match( + r"^[A-Z0-9-()$@!?^'#. ]$", text.upper() + ): await ctx.send("Please use ASCII characters.", hidden=True) return for letter in text.upper():