@@ -839,14 +839,12 @@ async def chess_moves_handler(chess, id):
return [text]
-async def chess_anim_handler(chess, id, count):
+async def chess_anim_handler(chess, id, arg):
count = None
- if count.strip():
- count = args[0]
-
+ if arg.strip():
try:
- count = int(count)
+ count = int(arg)
if count < 2:
raise ValueError