construct FriendAddEvent
This commit is contained in:
1 parent
28e76a4f0f
commit
1ff4f073c4
1 file changed
+5
@@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user