fm: Show which last.fm username the top tracks are from
This commit is contained in:
parent
4a67153fb9
commit
27ec24b7d4
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ module.exports = async function (userID, option) {
|
||||||
reject(error);
|
reject(error);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
sendText = `Your top 10 tracks are:\n`;
|
sendText = `Top weekly tracks for ${lastfmUsername}:\n`;
|
||||||
for(let i = 0; i < tracks.length; i++){
|
for(let i = 0; i < tracks.length; i++){
|
||||||
sendText += `${i}. ${tracks[i].artist} - ${tracks[i].song} (${tracks[i].playcount} plays)\n`;
|
sendText += `${i}. ${tracks[i].artist} - ${tracks[i].song} (${tracks[i].playcount} plays)\n`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue