From d3610c42fc5009f8894386be1eb13713a81bd867 Mon Sep 17 00:00:00 2001 From: Zevaryx Date: Sun, 4 Jul 2021 20:03:57 -0600 Subject: [PATCH] Fix rcauto command --- jarvis/cogs/util.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jarvis/cogs/util.py b/jarvis/cogs/util.py index d3b86f7..a0e2314 100644 --- a/jarvis/cogs/util.py +++ b/jarvis/cogs/util.py @@ -68,13 +68,13 @@ class UtilCog(commands.Cog): ], ) async def _rcauto(self, ctx: SlashContext, text: str): - text = "" - for letter in text: + to_send = "" + for letter in text.upper(): if letter == " ": - text += " " + to_send += " " else: - text += f":rc{letter}:" - await ctx.send(text) + to_send += f":rc{letter}:" + await ctx.send(to_send) def setup(bot):