Fix rcauto command

This commit is contained in:
Zeva Rose 2021-07-04 20:03:57 -06:00
parent 4d0aa6d064
commit d3610c42fc

View file

@ -68,13 +68,13 @@ class UtilCog(commands.Cog):
], ],
) )
async def _rcauto(self, ctx: SlashContext, text: str): async def _rcauto(self, ctx: SlashContext, text: str):
text = "" to_send = ""
for letter in text: for letter in text.upper():
if letter == " ": if letter == " ":
text += " " to_send += " "
else: else:
text += f":rc{letter}:" to_send += f":rc{letter}:"
await ctx.send(text) await ctx.send(to_send)
def setup(bot): def setup(bot):