txlyre 1 년 전
부모
커밋
5d8868bf48
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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(