random sentence

This commit is contained in:
2017-08-23 21:41:37 +08:00
parent 29ffae8648
commit 70317ddd10
3 changed files with 26 additions and 7 deletions

2
bot.py
View File

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