From b686afba983a327b424fe73d8e2395d6ed1fbcab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Fri, 17 Sep 2021 12:52:37 +0300 Subject: [PATCH] Update play function --- src/client/funcs/play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/funcs/play.js b/src/client/funcs/play.js index 992f3f1..d369c1a 100644 --- a/src/client/funcs/play.js +++ b/src/client/funcs/play.js @@ -8,7 +8,7 @@ module.exports = async function play(client, interaction, guild, station) { client.funcs.logger('Radio', guild.id + " / " + "Play" + " / " + radio.station.name); message.nowplayingDescription = client.messages.nowplayingDescription.replace("%radio.station.name%", radio.station.name); - message.nowplayingDescription = message.nowplayingDescription.replace("%radio.station.owner%" + "\n", radio.station.name != radio.station.owner ? radio.station.owner + "\n" : ""); + message.nowplayingDescription = message.nowplayingDescription.replace("%radio.station.owner%", radio.station.name != radio.station.owner ? radio.station.owner + "\n" : ""); message.nowplayingDescription = message.nowplayingDescription.replace("%client.funcs.msToTime(completed)%", ""); message.nowplayingDescription = message.nowplayingDescription.replace("**", ""); message.nowplayingDescription = message.nowplayingDescription.replace("**", "");