fix switch screen from question to question list
This commit is contained in:
2
bot.py
2
bot.py
@ -56,7 +56,7 @@ def on_chat(msg):
|
|||||||
if user.check_online() == True:
|
if user.check_online() == True:
|
||||||
user.display_main()
|
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 user.check_online() == True:
|
||||||
if len(command) > 1:
|
if len(command) > 1:
|
||||||
user.display_question(command[1])
|
user.display_question(command[1])
|
||||||
|
Reference in New Issue
Block a user