Last.fm
Last.fm keeps a history of everything you listen to, called your "scrobbles". When you connect your account to iHorizon, the tracks you play through the bot's music player are scrobbled to your Last.fm profile automatically, just as if you had listened to them in any other music app. Over time this builds up your listening stats and recommendations without any extra effort.
/lastfm
Connect your Last.fm account and control music scrobbling.
Subcommands
/lastfm config— Enable or disable Last.fm scrobbling for your account./lastfm login— Login to Last.fm and store your scrobbling session.
/lastfm config <power>
Enable or disable Last.fm scrobbling for your account.
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
power |
String | Yes | Power On or Power Off the module | Power On → onPower Off → off |
This command turns scrobbling on or off for your account. Turn it on once you have logged in to start sending the tracks you play to your Last.fm history, and turn it off whenever you would rather listen without recording anything. You need to be logged in with /lastfm login before enabling it.
/lastfm login <username> <password>
Login to Last.fm and store your scrobbling session.
| Option | Type | Required | Description | Choices |
|---|---|---|---|---|
username |
String | Yes | Your Last.fm username or email address | - |
password |
String | Yes | Your Last.fm password | - |
This command links your Last.fm account to iHorizon. Enter your Last.fm username (or the email tied to your account) and your password. iHorizon uses them to open a scrobbling session and stores only that session, not your password. Run this once before enabling the module.
Keep your password private
Run this command in a channel where others can't read it, or use it in the bot's direct messages. iHorizon only needs your credentials to sign the session with Last.fm.