Skip to content

Commit

Permalink
👍/enchnts quickfix
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperAnt220 committed Sep 15, 2024
1 parent b7f60d2 commit 637c690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/fun/enchants.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class EnchantCommands(commands.Cog):
@app_commands.describe(text="Текст, который нужно перевести на язык стола зачарований")

async def enchant(self, ctx, *, text: str):
enchanted = text
enchanted = text.lower()
for char in normal2sga_table:
enchanted = enchanted.replace(char, normal2sga_table[char]+"\u200b")
messages = [enchanted[i:i + 2000] for i in range(0, len(enchanted), 2000)]
Expand Down

0 comments on commit 637c690

Please sign in to comment.