diff --git a/src/onebot/helper/data.ts b/src/onebot/helper/data.ts index 40596fe75..d563d7a1a 100644 --- a/src/onebot/helper/data.ts +++ b/src/onebot/helper/data.ts @@ -52,7 +52,7 @@ export class OB11Constructor { messagePostFormat: string = obcore.configLoader.configData.messagePostFormat ): Promise { if (msg.senderUin == "0" || msg.senderUin == "") return; - if (msg.peerUin == "0" || msg.peerUin) return; + if (msg.peerUin == "0" || msg.peerUin == "") return; //跳过空消息 const NTQQGroupApi = core.apis.GroupApi; const NTQQUserApi = core.apis.UserApi;