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):
|
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):
|
||||||
|
|
Loading…
Add table
Reference in a new issue