From 27ec24b7d40c2a9f00600995f18e8a47aed11d57 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Thu, 7 Mar 2024 12:57:08 +0100 Subject: [PATCH] fm: Show which last.fm username the top tracks are from --- util/lastfm/getTopTracks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/lastfm/getTopTracks.js b/util/lastfm/getTopTracks.js index f38a78d..42097f0 100644 --- a/util/lastfm/getTopTracks.js +++ b/util/lastfm/getTopTracks.js @@ -44,7 +44,7 @@ module.exports = async function (userID, option) { reject(error); }); }); - sendText = `Your top 10 tracks are:\n`; + sendText = `Top weekly tracks for ${lastfmUsername}:\n`; for(let i = 0; i < tracks.length; i++){ sendText += `${i}. ${tracks[i].artist} - ${tracks[i].song} (${tracks[i].playcount} plays)\n`; }