Update tgbot.py

This commit is contained in:
midoks
2023-03-06 16:42:29 +08:00
parent b8f04043bc
commit 197e2d80c6
+1
View File
@@ -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'])