From 1760c54676893bcd313b095e27b3a34113e6cf04 Mon Sep 17 00:00:00 2001 From: PinLin Date: Thu, 24 Aug 2017 02:24:09 +0800 Subject: [PATCH] wow so cute --- bot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index aad1d5f..863da4f 100644 --- a/bot.py +++ b/bot.py @@ -110,7 +110,10 @@ def on_chat(msg): user.list_passers() elif command[0] == '回題目📜': user.display_question(chat_id ,user.question) - + else: + if chat_type == 'private': + bot.sendMessage(chat_id, "(ˊ・ω・ˋ)") + elif content_type == 'document': if user.status == '上傳答案' or user.status == '查看題目': if user.check_online() == True: