18 lines
461 B
Python
18 lines
461 B
Python
from aiogram import executor
|
|
from bot_lib.bot_create import dp, logger
|
|
from handlers import message_handlers, callback_handlers
|
|
|
|
|
|
# ==================
|
|
# MESSAGE HANDLERS
|
|
# ==================
|
|
message_handlers.register_message_handlers(dp)
|
|
# ====================
|
|
# CALLBACK HANDLERS
|
|
# ====================
|
|
callback_handlers.register_callback_handlers(dp)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
logger.info("Start Bot")
|
|
executor.start_polling(dp, skip_updates=False) |