txlyre 1 day ago
parent
commit
2e4d4e1239
1 changed files with 2 additions and 2 deletions
  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: