Skip to content

Commit

Permalink
fix: 上报问题
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed May 19, 2024
1 parent 37f897f commit 8264423
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/onebot11/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ export class NapCatOnebot11 {
let pokeEvent: OB11FriendPokeEvent | OB11GroupPokeEvent
if (MsgType == 528 && subType0 == 290) {
log("[私聊] 用户 ", peeruin, " 对你戳一戳");
pokeEvent = new OB11GroupPokeEvent(peeruin);
pokeEvent = new OB11FriendPokeEvent(peeruin);
postOB11Event(pokeEvent)
//私聊戳一戳
}
if (MsgType == 732 && subType0 == 20) {
log("[群聊] 群组 ", peeruin, " 戳一戳");
pokeEvent = new OB11FriendPokeEvent(peeruin);
pokeEvent = new OB11GroupPokeEvent(peeruin);
postOB11Event(pokeEvent)
//群聊戳一戳
}
Expand Down

0 comments on commit 8264423

Please sign in to comment.