python_bot/bot.py
Pavel_Duron 31abb3460a
All checks were successful
continuous-integration/drone/push Build is passing
add structure to code
2022-12-05 17:22:23 +10:00

29 lines
425 B
Python

from create_bot import dp
import logging
from aiogram import executor
from handlers import pipisa, time_new_year, start_help
print('Бот начал работу')
logging.basicConfig(level=logging.DEBUG)
pipisa.register_handlers_pipisa(dp)
time_new_year.register_handlers_time(dp)
start_help.register_handlers_StartHelp(dp)
if __name__ == '__main__':
executor.start_polling(dp, skip_updates=True)