Update tgbot.py

pull/391/head
midoks 2 years ago
parent b8f04043bc
commit 197e2d80c6
  1. 1
      plugins/tgbot/startup/tgbot.py

@ -47,6 +47,7 @@ while True:
if 'bot' in cfg and 'app_token' in cfg['bot']:
if cfg['bot']['app_token'] != '' and cfg['bot']['app_token'] != 'app_token':
break
print('wait input config')
time.sleep(3)
bot = telebot.TeleBot(cfg['bot']['app_token'])

Loading…
Cancel
Save