mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 15:03:17 +00:00
Updated play function
This commit is contained in:
parent
894a1d82f5
commit
a9857cb34b
@ -27,7 +27,10 @@ module.exports = async function play(interaction, guild, client, url) {
|
||||
radio.connection?.destroy();
|
||||
radio.audioPlayer?.stop();
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user