1
Fork 0
mirror of https://github.com/RYGhub/royal-mifia.git synced 2024-11-22 22:04:18 +00:00

Display debug logging msgs

This commit is contained in:
Steffo 2016-08-10 16:05:30 +02:00
parent b1edc8b7ce
commit cb3de75874

View file

@ -7,6 +7,10 @@ from telegram import ParseMode
import filemanager import filemanager
import random import random
import strings as s 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') token = filemanager.readfile('telegramapi.txt')
updater = Updater(token) updater = Updater(token)