mirror of
				https://github.com/warengroup/eximiabots-radiox.git
				synced 2025-11-04 06:49:32 +00:00 
			
		
		
		
	Updated play function
This commit is contained in:
		@@ -27,7 +27,10 @@ module.exports = async function play(interaction, guild, client, url) {
 | 
				
			|||||||
            radio.connection?.destroy();
 | 
					            radio.connection?.destroy();
 | 
				
			||||||
            radio.audioPlayer?.stop();
 | 
					            radio.audioPlayer?.stop();
 | 
				
			||||||
            client.radio.delete(guild.id);
 | 
					            client.radio.delete(guild.id);
 | 
				
			||||||
            return interaction.reply(client.messages.errorPlaying);
 | 
					            return interaction.reply({
 | 
				
			||||||
 | 
					                content: client.messages.errorPlaying,
 | 
				
			||||||
 | 
					                ephemeral: true
 | 
				
			||||||
 | 
					            });
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    message.nowplayingDescription = client.messages.nowplayingDescription.replace("%radio.station.name%", radio.station.name);
 | 
					    message.nowplayingDescription = client.messages.nowplayingDescription.replace("%radio.station.name%", radio.station.name);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user