From a1a81f2b0595cc7444b7709501e59e280c47dbf5 Mon Sep 17 00:00:00 2001 From: zhayujie Date: Sun, 16 Apr 2023 12:29:20 +0800 Subject: [PATCH] fix: remove log --- channel/planet/planet_channel.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/channel/planet/planet_channel.py b/channel/planet/planet_channel.py index 48631f4..b5b97d9 100644 --- a/channel/planet/planet_channel.py +++ b/channel/planet/planet_channel.py @@ -84,7 +84,7 @@ class PlanetChannel(Channel): # 评论自动回复 for comment in comment_list: - # 场景二:机器人自己发的帖子,只要有没有被回复的,都立即回复 + # 场景二:机器人自己发的帖子,只要有没有被回复的,都立即回复 (目前别人之前的回复,也会被回复哦) # 场景三:用户发的帖子,评论中有艾特机器人,且没有被回复的 query = comment['text'] comment_user_id = str(comment['owner']['user_id']) @@ -103,9 +103,6 @@ class PlanetChannel(Channel): logger.info("[Planet] comment success, id={}".format(comment['comment_id'])) return - - logger.info("[Planet] no topic need reply") - def _is_reply_bot(self, comment_map, comment): # 是否是回复机器人的评论 if comment.get('repliee'):