THANK YOU FOR UNANNOUNCED API CHANGES

This commit is contained in:
Emily 2021-04-13 17:25:16 +10:00
parent 8f271a9a4e
commit f09567b239
2 changed files with 6 additions and 2 deletions

View File

@ -17,7 +17,7 @@ exports.run = async (client, message) => {
const embed = new MessageEmbed()
embed.setTitle('Now playing')
embed.setThumbnail(s.video.videoThumbnails[1].url)
embed.setThumbnail('https://invidiou.site' + 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)

View File

@ -15,8 +15,12 @@ exports.run = async (client, message, args) => {
const s = guild.queue[songID]
if (!s) {
return message.channel.send('<:error:466995152976871434> No song was found in the position you specified.')
}
const embed = new MessageEmbed()
embed.setThumbnail(s.video.videoThumbnails[1].url)
embed.setThumbnail('https://invidiou.site' + 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)