mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2024-11-22 05:44:19 +00:00
Display debug logging msgs
This commit is contained in:
parent
b1edc8b7ce
commit
cb3de75874
1 changed files with 4 additions and 0 deletions
4
main.py
4
main.py
|
@ -7,6 +7,10 @@ from telegram import ParseMode
|
|||
import filemanager
|
||||
import random
|
||||
import strings as s
|
||||
import logging
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG,
|
||||
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
|
||||
token = filemanager.readfile('telegramapi.txt')
|
||||
updater = Updater(token)
|
||||
|
|
Loading…
Reference in a new issue