From 1f06979cad67418e45b1b740f618f7c2d9bf1865 Mon Sep 17 00:00:00 2001 From: zhayujie Date: Sun, 16 Apr 2023 02:42:05 +0800 Subject: [PATCH] feat: add planet log --- channel/planet/planet_channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channel/planet/planet_channel.py b/channel/planet/planet_channel.py index 83f60b0..f62dfc2 100644 --- a/channel/planet/planet_channel.py +++ b/channel/planet/planet_channel.py @@ -53,7 +53,7 @@ class PlanetChannel(Channel): def _handle_topic(self, topic): talk_content = topic['talk']['text'] talk_user_id = str(topic['talk']['owner']['user_id']) - + logger.info("[Planet] handle topic, user_id={}, content={}".format(talk_content, talk_user_id)) # 主题自动回复 if talk_content.find(self.bot_user_id) != -1 and not self._has_topic_reply(topic): logger.info("[Planet] find new topic, topic={}".format(topic))