From a9857cb34b707f424e1264925af08615755616b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Mon, 6 Sep 2021 19:09:34 +0300 Subject: [PATCH] Updated play function --- src/client/funcs/play.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client/funcs/play.js b/src/client/funcs/play.js index 24addeb..fe81608 100644 --- a/src/client/funcs/play.js +++ b/src/client/funcs/play.js @@ -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);