mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 22:51:32 +00:00
Webpack build for branch 11.1-dev: 433c5e5702
This commit is contained in:
parent
9e4cf3e532
commit
189983bbd3
2 changed files with 4 additions and 3 deletions
|
|
@ -17625,12 +17625,13 @@ class WebSocketConnection extends EventEmitter {
|
|||
* @returns {boolean}
|
||||
*/
|
||||
onMessage(event) {
|
||||
let data;
|
||||
try {
|
||||
event.data = this.unpack(event.data);
|
||||
data = this.unpack(event.data);
|
||||
} catch (err) {
|
||||
this.emit('debug', err);
|
||||
}
|
||||
return this.onPacket(event.data);
|
||||
return this.onPacket(data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
2
discord.11.1-dev.min.js
vendored
2
discord.11.1-dev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue