diff --git a/utils/soundplayer.js b/utils/soundplayer.js index 54aa9b9..09cd017 100644 --- a/utils/soundplayer.js +++ b/utils/soundplayer.js @@ -160,7 +160,7 @@ export async function nextSong(client, options, connection, track, info, music, // no-op } } - connection.removeAllListeners("error"); + connection.removeAllListeners("exception"); connection.removeAllListeners("end"); connection.playTrack({ track }); players.set(voiceChannel.guild.id, { player: connection, type: music ? "music" : "sound", host: host, voiceChannel: voiceChannel, originalChannel: options.channel, loop, shuffle, playMessage: playingMessage });