Gets the track being listened to in LastFM and shows it in Discord via Rich Presence
- Download/Clone repository
- Type "npm i"
- Configurate
config.json
node index.js
You need LastFM API Key and Discord ApplicationID
{
"lastfm": {
"apiKey": "LastFM API Key",
"username": "LastFM username"
},
"discord": {
"clientKey": "Discord ApplicationID",
"updateEvery": 10e3
},
"text": {
"details": "{artist} - {track}",
"state": "{album}",
"imageText": "{artist} - {track} ({album})",
"buttons": [ "Listen with me!", "Here my profile!" ]
},
"buttonsEnabled": true
}
{artist}
responsible for the creator of the track{track}
responsible for the track name{album}
is responsible for the album in which the track is.
"details": "I'm listen {track} by {artist}" // I'm listen Animal I Have Become by Three Days Grace
sheesh