mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-16 05:10:34 +00:00
construct FriendAddEvent
This commit is contained in:
parent
32213be7a7
commit
4ff5553804
@ -154,6 +154,11 @@ export class NapCatOnebot11 {
|
|||||||
postOB11Event(groupEvent);
|
postOB11Event(groupEvent);
|
||||||
}
|
}
|
||||||
}).catch(e => log('constructGroupEvent error: ', e));
|
}).catch(e => log('constructGroupEvent error: ', e));
|
||||||
|
OB11Constructor.FriendAddEvent(message).then(friendAddEvent=>{
|
||||||
|
if(friendAddEvent){
|
||||||
|
postOB11Event(friendAddEvent)
|
||||||
|
}
|
||||||
|
}).catch(e => log('constructFriendAddEvent error: ', e));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user