mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
redo the client user presence stuff
This commit is contained in:
@@ -112,6 +112,7 @@ class WebSocketManager extends EventEmitter {
|
||||
|
||||
_send(data) {
|
||||
if (this.ws.readyState === WebSocket.OPEN) {
|
||||
this.emit('send', data);
|
||||
this.ws.send(data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user