diff --git a/src/main/java/com/yutou/qqbot/MessageEvent/AdminMessage.java b/src/main/java/com/yutou/qqbot/MessageEvent/AdminMessage.java index fb67934..446bbb5 100644 --- a/src/main/java/com/yutou/qqbot/MessageEvent/AdminMessage.java +++ b/src/main/java/com/yutou/qqbot/MessageEvent/AdminMessage.java @@ -125,10 +125,14 @@ public class AdminMessage extends Message { if (msgGroup.length == 1) { QQBotManager.getInstance().sendMessage(qq, "使用方法:" + QQCommands.MODEL_DEL + " [qqnumber] 模块 用&分割"); } else { + String qqGroup=msgGroup[1]; + if("this".equals(qqGroup)){ + qqGroup=sendQQ+""; + } if (msgGroup.length <= 2) { - delModel(msgGroup[1], null); + delModel(qqGroup, null); } else { - delModel(msgGroup[1], msgGroup[2]); + delModel(qqGroup, msgGroup[2]); } } }