make ui friendly

This commit is contained in:
2017-08-09 00:01:07 +08:00
parent f47d62eeaf
commit f2cdd284a3
2 changed files with 12 additions and 8 deletions

2
bot.py
View File

@ -87,6 +87,8 @@ def on_chat(msg):
pass # unavailable
elif command[0] == '回到題目📜':
user.display_question(user.question)
else:
bot.sendMessage(chat_id, "快去寫扣啦!")
elif content_type == 'document':
if user.status == '上傳答案':