mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-11-04 06:49:31 +00:00 
			
		
		
		
	Update play.js
This commit is contained in:
		@@ -1,4 +1,5 @@
 | 
				
			|||||||
const YouTube = require("simple-youtube-api");
 | 
					const YouTube = require("simple-youtube-api");
 | 
				
			||||||
 | 
					const he = require('he');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
module.exports = {
 | 
					module.exports = {
 | 
				
			||||||
	name: 'play',
 | 
						name: 'play',
 | 
				
			||||||
@@ -42,7 +43,7 @@ module.exports = {
 | 
				
			|||||||
					let index = 0;
 | 
										let index = 0;
 | 
				
			||||||
					const embed = new Discord.RichEmbed()
 | 
										const embed = new Discord.RichEmbed()
 | 
				
			||||||
						.setTitle("__Song Selection__")
 | 
											.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.")
 | 
											.setFooter("Please provide a number ranging from 1-10 to select one of the search results.")
 | 
				
			||||||
						.setColor("#b50002")
 | 
											.setColor("#b50002")
 | 
				
			||||||
					message.channel.send(embed);
 | 
										message.channel.send(embed);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user