32 lines
524 B
Python
32 lines
524 B
Python
import logging
|
|
import graypy
|
|
|
|
from aiogram import executor
|
|
|
|
from create_bot import dp
|
|
|
|
import handlers
|
|
|
|
|
|
logging.basicConfig(level=logging.DEBUG)
|
|
|
|
|
|
# logging.basicConfig(
|
|
# level = logging.DEBUG,
|
|
# handlers = [ graypy.GELFUDPHandler('localhost', 12201) ]
|
|
# )
|
|
|
|
# pipisa.register_handlers_pipisa(dp)
|
|
# time_new_year.register_handlers_time(dp)
|
|
# sendalarm.register_handlers_test(dp)
|
|
# start_help.register_handlers_StartHelp(dp)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
executor.start_polling(dp, skip_updates=True)
|
|
|
|
|
|
|
|
|
|
|