fix switch screen from question to question list

This commit is contained in:
2017-08-14 17:03:26 +08:00
parent d8b72688ee
commit 7f46c12b6e

2
bot.py
View File

@ -56,7 +56,7 @@ def on_chat(msg):
if user.check_online() == True:
user.display_main()
elif command[0] == '/question' or command[0] == '題庫📝' or command[0] == '更新🔃':
elif command[0] == '/question' or command[0] == '題庫📝' or command[0] == '回題庫📝' or command[0] == '更新🔃':
if user.check_online() == True:
if len(command) > 1:
user.display_question(command[1])