Last.FM Command & Auto Announce On Song Change

javascript
customscript
commands
dakoda
phantombot

#1

Command for current song and auto announce on song change for people using Last.FM.

Version:
1.0.2

Setup:
First go to LastFM to create your api account.

Then you will need to run 2 commands to make the settings for this to work.

  1. !lastfm username [LastFM Username]
  2. !lastfm apikey [LastFM API Key]

after this you may check the current command using !lastfm or you can toggle the announcement using !lastfm toggle auto

Files:
lastFMSystem.js (6.1 KB)
system-lastFMSystem.js (806 Bytes)

Sample Below;


#2

using this works perfectly thanks!!


#3

I have installed and set this up, however the !lastfm command does not work.

Is this only enabled when I’m live or should it work even when I’m offline?


Hosting Own Channel
#4

Version:
1.0.1

Fixes:
The first time running it didn’t update until after rebooting the bot [ found by bennnndaniels ]

Files:
lastFMSystem.js (6.3 KB)
system-lastFMSystem.js (671 Bytes)


#5

Version:
1.0.2

Fixes: [Edited by UsernamesSuck]

  • All settings move to one area.
  • Added a toggle for announcing the song.
  • Added a toggle to save current song to file.
  • Added a error message if the settings have not been set.
  • Removed the auto setting in-place of the 2 above.

Files:
lastFMSystem.js (6.1 KB)
system-lastFMSystem.js (806 Bytes)