mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 04:56:07 +00:00
fix: raw event
This commit is contained in:
parent
0da67319f3
commit
c8d2500892
@ -132,7 +132,7 @@ export class Client<Ready extends boolean = boolean> extends BaseClient {
|
||||
}
|
||||
|
||||
protected async onPacket(shardId: number, packet: GatewayDispatchPayload) {
|
||||
// await this.events?.runEvent('RAW', this, packet, shardId);
|
||||
await this.events?.runEvent('RAW', this, packet, shardId);
|
||||
switch (packet.t) {
|
||||
//// Cases where we must obtain the old data before updating
|
||||
case 'GUILD_MEMBER_UPDATE':
|
||||
|
Loading…
x
Reference in New Issue
Block a user