mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
maybe fix again
This commit is contained in:
@@ -39,6 +39,11 @@ class VoiceConnection extends EventEmitter {
|
||||
|
||||
this.player = new AudioPlayer(this);
|
||||
|
||||
this.player.on('error', e => {
|
||||
this.emit('warn', e);
|
||||
this.player.cleanup();
|
||||
});
|
||||
|
||||
/**
|
||||
* Object that wraps contains the `ws` and `udp` sockets of this voice connection
|
||||
* @type {object}
|
||||
|
||||
Reference in New Issue
Block a user