去除过程资料

This commit is contained in:
liuwei
2025-03-12 13:33:23 +08:00
parent 50f8d62eb5
commit b29b6fdeac
2 changed files with 0 additions and 3 deletions

View File

@@ -23,8 +23,6 @@ class BotMusic:
self.command_format = config["command-format"]
self.LOG.info(f"[点歌台] 组件初始化完成,指令: {self.command}")
import requests
def get_music(self, message: WxMsg):
if not self.enable:
return

View File

@@ -252,7 +252,6 @@ class Robot(Job):
# 如果是群消息并且群没开启AI则不处理该动作
if msg.from_group() and self.gbm.get_group_permission(msg.roomid,
Feature.AI_CAPABILITY) == PermissionStatus.DISABLED:
self.send_text_msg("群AI功能未开启", msg.roomid, msg.sender)
return True
else:
if msg.type == 1: # 只处理类型为1的消息提供的问题引用@不予以对话