清除群指令,用于处理退群之后的信息。
This commit is contained in:
8
robot.py
8
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('#加群配置'):
|
||||
|
||||
Reference in New Issue
Block a user