diff --git a/funcs/play.js b/funcs/play.js index 55b780a9..84b06e8a 100644 --- a/funcs/play.js +++ b/funcs/play.js @@ -7,7 +7,7 @@ module.exports = async function (guild, song, client, message, seek) { client.queue.delete(guild.id); return; } - const dispatcher = message.guild.voiceConnection.playStream + const dispatcher = message.guild.voiceConnection .playStream(ytdl(song.url, { filter: "audio", highWaterMark: 1 << 25 }), { seek: seek, bitrate: 1024, passes: 10, volume: 1 }) .on("end", reason => { if (reason === "Stream is not generating quickly enough.") {