From 90e16e2b3c3df03ddd3da2339205010fcf54c10b Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Mon, 8 Apr 2024 12:46:42 +0200 Subject: [PATCH] Add prefix to the message reminding how to set username --- commands/misc/fm.js | 2 +- util/lastfm/getCurrentScrobble.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/misc/fm.js b/commands/misc/fm.js index d86b263..e3d2002 100644 --- a/commands/misc/fm.js +++ b/commands/misc/fm.js @@ -43,7 +43,7 @@ module.exports = { sendText.embed.setColor(roleColor); message.channel.send({embeds :[sendText.embed]}) }else{ - message.channel.send(sendText.text); + message.channel.send(sendText.text.replaceAll("", prefix)); } } }; \ No newline at end of file diff --git a/util/lastfm/getCurrentScrobble.js b/util/lastfm/getCurrentScrobble.js index 6d3eb23..61653ed 100644 --- a/util/lastfm/getCurrentScrobble.js +++ b/util/lastfm/getCurrentScrobble.js @@ -60,7 +60,7 @@ module.exports = async function(userID, guild) { },) sendText.embed = embed; } else { - sendText.text = "You haven't set your last.fm username yet. Use `fm set ` to set it."; + sendText.text = "You haven't set your last.fm username yet. Use `fm set ` to set it."; } return sendText; } \ No newline at end of file