diff --git a/src/commands/nowplaying.js b/src/commands/nowplaying.js index 69a5b22..288e51a 100644 --- a/src/commands/nowplaying.js +++ b/src/commands/nowplaying.js @@ -17,7 +17,7 @@ exports.run = async (client, message) => { const embed = new MessageEmbed() embed.setTitle('Now playing') - embed.setThumbnail('https://invidiou.site' + s.video.videoThumbnails[1].url) + embed.setThumbnail(client.config.endpoints.invidious + s.video.videoThumbnails[1].url) embed.setColor(client.embedColour(message)) embed.setDescription(`**[${s.video.title}](https://www.youtube.com/watch?v=${s.video.videoId})**`) embed.addField('Channel:', s.video.author, true) diff --git a/src/commands/songinfo.js b/src/commands/songinfo.js index 6d3230c..ac74bbb 100644 --- a/src/commands/songinfo.js +++ b/src/commands/songinfo.js @@ -20,7 +20,7 @@ exports.run = async (client, message, args) => { } const embed = new MessageEmbed() - embed.setThumbnail('https://invidiou.site' + s.video.videoThumbnails[1].url) + embed.setThumbnail(client.config.endpoints.invidious + s.video.videoThumbnails[1].url) embed.setColor(client.embedColour(message)) embed.setDescription(`**[${s.video.title}](https://www.youtube.com/watch?v=${s.video.videoId})**`) embed.addField('Channel:', s.video.author, true)