mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 22:51:32 +00:00
Webpack build for branch master: 7934788c10
This commit is contained in:
parent
9ee217d215
commit
9e4cf3e532
2 changed files with 4 additions and 3 deletions
|
|
@ -16771,12 +16771,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.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