From 76ab15b79f43a5cbb4540f591dd81e75fd7f4187 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Tue, 10 Sep 2024 22:17:25 +0200 Subject: [PATCH] Add more options and fix small grammar mistake --- util/lastfm/getTopTracks.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util/lastfm/getTopTracks.js b/util/lastfm/getTopTracks.js index 34b51e7..249b3e6 100644 --- a/util/lastfm/getTopTracks.js +++ b/util/lastfm/getTopTracks.js @@ -21,6 +21,8 @@ module.exports = async function (userID, option, guild) { "q": "3month", "h": "6month", "y": "12month", + "a": "overall", + "at": "overall", "all": "overall", "daily": "1day", "weekly": "7day", @@ -89,7 +91,7 @@ module.exports = async function (userID, option, guild) { }); } const embed = new Discord.MessageEmbed() - .setAuthor(`Top ${duration} for ${nickname}`, user.user.avatarURL({ dynamic: true, size: 4096 })) + .setAuthor(`Top ${duration} tracks for ${nickname}`, user.user.avatarURL({ dynamic: true, size: 4096 })) .setThumbnail(tracks[0].cover) .setColor(15780145) let tracksInfo = "";