don't print token, thanks
This commit is contained in:
parent
56509dcb0c
commit
1d0d83b1df
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user