Answer the question
In order to leave comments, you need to log in
I am writing a telegram bot on aiogram and the same error always crashes, how to fix it?
# start long polling
if __name__ == '__main__':
dp.loop.create_task(scheduled(10)) # пока что оставим 10 секунд (в качестве теста)
executor.start_polling(dp, skip_updates=True).
Answer the question
In order to leave comments, you need to log in
See what is returned in dp.loop, apparently there is None, but it is assumed that there should be a different object.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question