Forums

Aiogram, executor

Hello everybody!

I'm making Telegram Bot and I'm trying to use aiogram package and import executor from that. But I have this error and I don't know, how to solve it:

ImportError: cannot import name 'executor' from 'aiogram'

I will be very grateful if you will help me with that

I believe executor has been removed from aiogram - https://docs.aiogram.dev/en/latest/migration_2_to_3.html

Well... it's sad :( But thank you so much for your reply