спасибо
когда ввел call.data - появляется такая штука:
Task exception was never retrieved
future: exception=ValueError("invalid literal for int() with base 10: 'cub'")>
Traceback (most recent call last):
File "C:\Users\vinog\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 415, in _process_polling_updates
for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):
File "C:\Users\vinog\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 235, in process_updates
return await asyncio.gather(*tasks)
File "C:\Users\vinog\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
response = await handler_obj.handler(*args, **partial_data)
File "C:\Users\vinog\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 283, in process_update
return await self.callback_query_handlers.notify(update.callback_query)
File "C:\Users\vinog\AppData\Local\Programs\Python\Python310\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
response = await handler_obj.handler(*args, **partial_data)
File "C:\Users\vinog\Desktop\casino\moder.py", line 39, in send_message
game_stavka = int(call.data)
ValueError: invalid literal for int() with base 10: 'cub'
не могли бы вы помочь
Написано
Войдите на сайт
Чтобы задать вопрос и получить на него квалифицированный ответ.