#10 теперь логгируется

This commit is contained in:
Simple_Not
2024-01-24 14:09:31 +10:00
parent 4a3f799284
commit 66c2ef80c3
6 changed files with 40 additions and 32 deletions

4
bot.py
View File

@@ -2,7 +2,7 @@ import logging
from aiogram import executor, Bot, Dispatcher
from create_bot import dp
import handlers
import json
import json, logging
from global_conf import CONFIG
@@ -40,7 +40,9 @@ logging.getLogger("aiogram").addFilter(filter_grammar_messages)
if __name__ == '__main__':
#print(CONFIG)
logging.info('Бот в строю.')
executor.start_polling(dp, skip_updates=True)
logging.info('Всем пока.')