mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 04:45:46 +00:00
build: test
This commit is contained in:
parent
d6cfe11d97
commit
05b77b5042
@ -266,6 +266,7 @@ export class NapCatOnebot11 {
|
|||||||
//完成后再post
|
//完成后再post
|
||||||
OB11Constructor.message(msg).then((_msg) => {
|
OB11Constructor.message(msg).then((_msg) => {
|
||||||
_msg.target_id = parseInt(msg.peerUin);
|
_msg.target_id = parseInt(msg.peerUin);
|
||||||
|
console.log("自身消息接收 ", "MsgID", msg.msgId, " MsgSeq", msg.msgSeq, " Raw", msg?.elements[0]?.textElement?.content);
|
||||||
if (ob11Config.reportSelfMessage) {
|
if (ob11Config.reportSelfMessage) {
|
||||||
msg.id = MessageUnique.createMsg({ chatType: msg.chatType, peerUid: msg.peerUid, guildId: '' }, msg.msgId);
|
msg.id = MessageUnique.createMsg({ chatType: msg.chatType, peerUid: msg.peerUid, guildId: '' }, msg.msgId);
|
||||||
this.postReceiveMsg([msg]).then().catch(logError);
|
this.postReceiveMsg([msg]).then().catch(logError);
|
||||||
|
Loading…
Reference in New Issue
Block a user