Skip to content

Commit

Permalink
fix: 修复send_poke无法使用
Browse files Browse the repository at this point in the history
  • Loading branch information
Shua-github committed Dec 31, 2024
1 parent 13bda6e commit b169bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onebot/action/packet/SendPoke.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class SendPoke extends GetPacketStatusDepends<Payload, any> {

async _handle(payload: Payload) {
if (payload.group_id) {
this.core.apis.PacketApi.pkt.operation.GroupPoke(+payload.group_id, +payload.user_id);
this.core.apis.PacketApi.pkt.operation.GroupPoke(+payload.user_id, +payload.group_id);
} else {
this.core.apis.PacketApi.pkt.operation.FriendPoke(+payload.user_id);
}
Expand Down

0 comments on commit b169bbf

Please sign in to comment.