fix: raw event

This commit is contained in:
MARCROCK22 2024-06-01 20:17:47 +00:00
parent 0da67319f3
commit c8d2500892

View File

@ -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':