Cinch-Lastfm
This is the Cinch Last.fm plugin adding "recently played" functionality.
Getting Started
This section is yet to be done, and will be done as this becomes a gem.
require 'cinch'
require 'cinch/plugins/lastfm'
Cinch::Plugins::Lastfm.configure do |c|
c.lfmapi = "yourlastfmapikey"
c.host = "redis address, probably localhost"
c.port = 6379 #change to suit your needs
end
bot = Cinch::Bot.new do
configure do |c|
c.plugins.plugins = [Cinch::Plugins::Lastfm]
end
end
Commands
Reacts to !np username, !link username, !np (as soon as !link is provided with your username though)
TODO
- Minor improvements
- Better docs