mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 07:02:00 +00:00
Webpack build for branch master: 892ba67d71
This commit is contained in:
parent
355a282b46
commit
e4197419b9
2 changed files with 6 additions and 3 deletions
|
|
@ -25190,8 +25190,11 @@ class WebSocketPacketManager {
|
|||
}
|
||||
|
||||
if (!queue && this.queue.length > 0) this.handleQueue();
|
||||
|
||||
if (this.handlers[packet.t]) return this.handlers[packet.t].handle(packet);
|
||||
try {
|
||||
if (this.handlers[packet.t]) return this.handlers[packet.t].handle(packet);
|
||||
} catch (error) {
|
||||
this.client.emit(Constants.Events.ERROR, error);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
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