alfateam123/Descartes — pull request #1 by alfateam123 (2013-12-15 22:34:44+00:00)
Title: Lastfm

added support for Last.fm
==================

now Rockstar gem (for last.fm API) is required.

added commands
------------------------
!lastsong : shows the last song you're scrobbled through last.fm
!lastfmuser add : add a relation between the user who's issuing the command and the . when the user issues !lastsong, Descartes will check these relations and retrieves data from the given username
!lastfmuser remove : removes the relation built for a given ircnick.

you have to add two files under "reply" folder
-------------------
* lastfm.yml
* lastfm_nicks.yml

the first contains the api_key and the api_secret you have to submit to Last.fm.
the second contains a list of nicks: you can leave it empty and add with !lastfmuser add