Fix rcauto command
This commit is contained in:
parent
4d0aa6d064
commit
d3610c42fc
1 changed files with 5 additions and 5 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue