mirror of
https://github.com/danbulant/discord.js
synced 2026-07-07 12:11:11 +00:00
Webpack build: 8eff36b744
This commit is contained in:
parent
e92f6a83a5
commit
ebe5e9d5f6
2 changed files with 5 additions and 3 deletions
|
|
@ -219,6 +219,7 @@ exports.Status = {
|
||||||
RECONNECTING: 2,
|
RECONNECTING: 2,
|
||||||
IDLE: 3,
|
IDLE: 3,
|
||||||
NEARLY: 4,
|
NEARLY: 4,
|
||||||
|
DISCONNECTED: 5,
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.ChannelTypes = {
|
exports.ChannelTypes = {
|
||||||
|
|
@ -21236,6 +21237,7 @@ class WebSocketManager extends EventEmitter {
|
||||||
eventClose(event) {
|
eventClose(event) {
|
||||||
this.emit('close', event);
|
this.emit('close', event);
|
||||||
this.client.clearInterval(this.client.manager.heartbeatInterval);
|
this.client.clearInterval(this.client.manager.heartbeatInterval);
|
||||||
|
this.status = Constants.Status.DISCONNECTED;
|
||||||
/**
|
/**
|
||||||
* Emitted whenever the client websocket is disconnected
|
* Emitted whenever the client websocket is disconnected
|
||||||
* @event Client#disconnect
|
* @event Client#disconnect
|
||||||
|
|
|
||||||
6
discord.indev.min.js
vendored
6
discord.indev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue