mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
feat: update type define in packet
This commit is contained in:
@@ -19,7 +19,7 @@ export class GroupPoke extends BaseAction<Payload, any> {
|
||||
|
||||
async _handle(payload: Payload) {
|
||||
if (!this.core.apis.PacketApi.packetClient?.available) {
|
||||
throw new Error('packetClient is not init');
|
||||
throw new Error('PacketClient is not init');
|
||||
}
|
||||
await this.core.apis.PacketApi.sendPokePacket(+payload.group_id, +payload.user_id);
|
||||
}
|
||||
|
Reference in New Issue
Block a user