txlyre 11 달 전
부모
커밋
03bffee6bb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      commands.py

+ 1 - 1
commands.py

@@ -552,7 +552,7 @@ async def sylvy_handler(bot, event, command):
     formatting_entities=[
       MessageEntityCode(
         offset=0,
-        length=len(text.encode('utf-16')) // 2
+        length=len(text)
       )
     ]
   )