diff --git a/commands/play.js b/commands/play.js index 226a298e..c9253e16 100644 --- a/commands/play.js +++ b/commands/play.js @@ -1,4 +1,5 @@ const YouTube = require("simple-youtube-api"); +const he = require('he'); module.exports = { name: 'play', @@ -42,7 +43,7 @@ module.exports = { let index = 0; const embed = new Discord.RichEmbed() .setTitle("__Song Selection__") - .setDescription(`${videos.map(video2 => `**${++index}** ${video2.title} `).join('\n')}`) + .setDescription(`${videos.map(video2 => `**${++index}** ${he.decode(video2.title)} `).join('\n')}`) .setFooter("Please provide a number ranging from 1-10 to select one of the search results.") .setColor("#b50002") message.channel.send(embed); @@ -66,4 +67,4 @@ module.exports = { return client.funcs.handleVideo(video, message, voiceChannel, client, false); } } -}; \ No newline at end of file +};