forked from Pavel_Durov/python_bot
27 lines
431 B
Python
27 lines
431 B
Python
from create_bot import dp, bot
|
|
import logging
|
|
from aiogram import executor
|
|
from handlers import pipisa, time_new_year, start_help, coding
|
|
|
|
|
|
logging.basicConfig(level=logging.DEBUG)
|
|
|
|
|
|
|
|
pipisa.register_handlers_pipisa(dp)
|
|
time_new_year.register_handlers_time(dp)
|
|
start_help.register_handlers_StartHelp(dp)
|
|
coding.register_handlers_alarm(dp)
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
executor.start_polling(dp, skip_updates=True)
|
|
|
|
|
|
|
|
|
|
|