txlyre 1 an în urmă
părinte
comite
5d8868bf48
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      commands.py

+ 2 - 0
commands.py

@@ -433,6 +433,8 @@ async def run_handler(bot, event, command):
 
   language_name, text = match.groups()
 
+  text = text.replace('\xA0', ' ') # i hate telegram
+
   async with ClientSession() as session:
     try:
       async with session.post(