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)