mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +00:00
Double-fix my double-derp
This commit is contained in:
parent
0559aaf00b
commit
5a9753e461
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ class VoiceConnection extends EventEmitter {
|
|||
this.websocket._shutdown();
|
||||
this.player._shutdown();
|
||||
if (this.udp) this.udp._shutdown();
|
||||
if (this._vsUpdateListener) this.manager.client.removeListener(this._vsUpdateListener);
|
||||
if (this._vsUpdateListener) this.manager.client.removeListener('voiceStateUpdate', this._vsUpdateListener);
|
||||
/**
|
||||
* Emit once the voice connection has disconnected.
|
||||
* @event VoiceConnection#disconnected
|
||||
|
|
|
|||
Loading…
Reference in a new issue