don't print token, thanks

This commit is contained in:
thezero 2020-11-25 22:46:56 +01:00
parent 56509dcb0c
commit 1d0d83b1df

View File

@ -50,7 +50,6 @@ if os.environ.get('CONF_FOLDER') is None:
TOKEN = None TOKEN = None
with open(os.path.join(os.environ['CONF_FOLDER'], 'bot.token')) as f: with open(os.path.join(os.environ['CONF_FOLDER'], 'bot.token')) as f:
TOKEN = f.read().strip() TOKEN = f.read().strip()
logger.error(TOKEN)
updater = Updater(token=TOKEN) updater = Updater(token=TOKEN)
updater.dispatcher.add_handler(MessageHandler(Filters.text, get_format)) updater.dispatcher.add_handler(MessageHandler(Filters.text, get_format))