mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 15:11:32 +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,
|
||||
IDLE: 3,
|
||||
NEARLY: 4,
|
||||
DISCONNECTED: 5,
|
||||
};
|
||||
|
||||
exports.ChannelTypes = {
|
||||
|
|
@ -21236,6 +21237,7 @@ class WebSocketManager extends EventEmitter {
|
|||
eventClose(event) {
|
||||
this.emit('close', event);
|
||||
this.client.clearInterval(this.client.manager.heartbeatInterval);
|
||||
this.status = Constants.Status.DISCONNECTED;
|
||||
/**
|
||||
* Emitted whenever the client websocket is disconnected
|
||||
* @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