fix
This commit is contained in:
1 parent
d36d9c5fa1
commit
2ac3812987
11 files changed
+139
-6
No files matched your search
@@ -540,6 +540,10 @@ export class NapCatOneBot11Adapter {
|
||||
if (isSelfMsg) {
|
||||
ob11Msg.target_id = parseInt(message.peerUin);
|
||||
}
|
||||
if(ob11Msg.raw_message.startsWith('!poke')){
|
||||
console.log('poke',message.peerUin, message.senderUin);
|
||||
this.core.apis.GroupApi.sendPacketPoke(message.peerUin, message.senderUin);
|
||||
}
|
||||
this.networkManager.emitEvent(ob11Msg);
|
||||
}).catch(e => this.context.logger.logError.bind(this.context.logger)('constructMessage error: ', e));
|
||||
|
||||
|
||||
Reference in new issue
Block a user