From 12440c275222ec9da830949eadc8570868a284a6 Mon Sep 17 00:00:00 2001 From: liuwei Date: Mon, 17 Mar 2025 17:01:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E9=99=A4=E7=BE=A4=E6=8C=87=E4=BB=A4?= =?UTF-8?q?=EF=BC=8C=E7=94=A8=E4=BA=8E=E5=A4=84=E7=90=86=E9=80=80=E7=BE=A4?= =?UTF-8?q?=E4=B9=8B=E5=90=8E=E7=9A=84=E4=BF=A1=E6=81=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- robot.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/robot.py b/robot.py index a5a56e5..d7ddd2a 100644 --- a/robot.py +++ b/robot.py @@ -411,12 +411,8 @@ class Robot(Job): self.LOG.info("已更新") if msg.content == "今日百度新闻": self.news_baidu_report() - if msg.content == '聊天排行榜': - self.generate_and_send_ranking() - if msg.content == '聊天数据入库': - self.message_count_to_db() - if msg.content == 'PDF': - self.generate_sehuatang_pdf() + if msg.content.startswith("清除群-"): + self.gbm.handle_command(msg.roomid, msg.content) if msg.content == 'GROUP_LIST': self.send_text_msg(self.gbm.get_group_list(), msg.sender) if msg.content.startswith('#加群配置'):