Close #45, issue was due to capitalization
This commit is contained in:
parent
5f3e61f4f2
commit
adf33171d2
1 changed files with 3 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Reference in a new issue