From ef65cfe8b630441dcbe13fa1b22a9d0b2b324a12 Mon Sep 17 00:00:00 2001 From: PinLin Date: Wed, 23 Aug 2017 22:10:04 +0800 Subject: [PATCH] rename /update to /restart --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index cd0db05..eae9cdf 100644 --- a/bot.py +++ b/bot.py @@ -85,7 +85,7 @@ def on_chat(msg): users[str(from_id)] = user user.logout_system() - elif command[0] == '/update': + elif command[0] == '/restart': if str(from_id) in config.ADMIN: bot.sendMessage(chat_id, "即將更新並重新啟動") time.sleep(1)