|
@@ -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))
|