forked from Pavel_Durov/python_bot
#8 надеюсь не сломается
This commit is contained in:
6
bot.py
6
bot.py
@@ -1,9 +1,9 @@
|
||||
import logging
|
||||
from aiogram import executor
|
||||
from aiogram import executor, Bot, Dispatcher
|
||||
from create_bot import dp
|
||||
import handlers
|
||||
import json
|
||||
|
||||
from global_conf import CONFIG
|
||||
|
||||
|
||||
|
||||
@@ -38,6 +38,8 @@ logging.getLogger("aiogram").addFilter(filter_grammar_messages)
|
||||
# start_help.register_handlers_StartHelp(dp)
|
||||
|
||||
if __name__ == '__main__':
|
||||
#print(CONFIG)
|
||||
|
||||
executor.start_polling(dp, skip_updates=True)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user