summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasey Link <unnamedrambler@gmail.com>2008-06-21 08:55:56 -0400
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-06-21 15:08:55 +0200
commitd4723313fc391899e5b15600696ae35d3137eb3a (patch)
treeb2265d83c6f095ca1aee4755c0345d76c7d80c39
parentf267acc58f5e0765eb0c1224cf5c7775646c0b93 (diff)
lastfm plugin: added now playing info to the help
-rw-r--r--data/rbot/plugins/lastfm.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/rbot/plugins/lastfm.rb b/data/rbot/plugins/lastfm.rb
index bc7f819c..4995655a 100644
--- a/data/rbot/plugins/lastfm.rb
+++ b/data/rbot/plugins/lastfm.rb
@@ -59,8 +59,10 @@ class LastFmPlugin < Plugin
"lastfm track <name> => show information on track/song <name> from last.fm [not implemented yet]"
when :album
"lastfm album <name> => show information on album <name> from last.fm [not implemented yet]"
+ when :now
+ "lastfm now <user> => show the now playing track from last.fm"
else
- "lastfm <function> <user> => lastfm data for <user> on last.fm where <function> in [recenttracks, topartists, topalbums, toptracks, tags, friends, neighbors]. other topics: events, artist, group, song, track, album"
+ "lastfm <function> <user> => lastfm data for <user> on last.fm where <function> in [recenttracks, topartists, topalbums, toptracks, tags, friends, neighbors]. other topics: events, artist, group, song, track, album, now"
end
end