qgyd2021 commited on
Commit
7331450
·
1 Parent(s): b3ca25a
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -86,10 +86,12 @@ class LipService4ChanHandler(dingtalk_stream.ChatbotHandler):
86
  incoming_message = dingtalk_stream.ChatbotMessage.from_dict(callback.data)
87
  text = incoming_message.text.content.strip()
88
 
 
 
89
  answer = self.get_answer(text)
90
  self.reply_text(answer, incoming_message)
91
 
92
- logger.info("incoming message: {}; reply text: {}".format(text, answer))
93
 
94
  return AckMessage.STATUS_OK, "OK"
95
 
 
86
  incoming_message = dingtalk_stream.ChatbotMessage.from_dict(callback.data)
87
  text = incoming_message.text.content.strip()
88
 
89
+ logger.info("incoming message: {};".format(text))
90
+
91
  answer = self.get_answer(text)
92
  self.reply_text(answer, incoming_message)
93
 
94
+ logger.info("incoming message: {}; reply text: {};".format(text, answer))
95
 
96
  return AckMessage.STATUS_OK, "OK"
97