mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 04:00:42 +00:00
Webpack build for branch master: 2eb3720001
This commit is contained in:
parent
3d5caaa004
commit
13c650965b
2 changed files with 4 additions and 3 deletions
|
|
@ -17556,7 +17556,9 @@ class WebSocketConnection extends EventEmitter {
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.emit('debug', err);
|
this.emit('debug', err);
|
||||||
}
|
}
|
||||||
return this.onPacket(data);
|
const ret = this.onPacket(data);
|
||||||
|
this.client.emit('raw', data);
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -17577,7 +17579,6 @@ class WebSocketConnection extends EventEmitter {
|
||||||
this.debug('Received null packet');
|
this.debug('Received null packet');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.client.emit('raw', packet);
|
|
||||||
switch (packet.op) {
|
switch (packet.op) {
|
||||||
case Constants.OPCodes.HELLO:
|
case Constants.OPCodes.HELLO:
|
||||||
return this.heartbeat(packet.d.heartbeat_interval);
|
return this.heartbeat(packet.d.heartbeat_interval);
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue