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

+ 2 - 2
commands.py

@@ -839,10 +839,10 @@ async def chess_moves_handler(chess, id):
     return [text]
 
 
-async def chess_anim_handler(chess, id, *args):
+async def chess_anim_handler(chess, id, count):
     count = None
 
-    if len(args) >= 1:
+    if count.strip():
         count = args[0]
 
         try: