diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-08-08 14:13:10 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-08-08 14:13:10 +0200 |
commit | fb639f2a686e3261120ddbfb34602f5d56fab356 (patch) | |
tree | 4e8dfa79292dfc7d46a14eb98a731ba1a9c71e7a /data/rbot | |
parent | 619870dc4934ca1360d925a6671e61ed15a8f1a2 (diff) |
lastfm plugin: support 'lastfm username' as the help suggests
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/lastfm.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/lastfm.rb b/data/rbot/plugins/lastfm.rb index 6482b543..0c40701c 100644 --- a/data/rbot/plugins/lastfm.rb +++ b/data/rbot/plugins/lastfm.rb @@ -427,8 +427,8 @@ plugin.map 'lastfm who :who', :action => :get_user, :thread => true plugin.map 'lastfm who', :action => :get_user, :thread => true plugin.map 'lastfm compare :user1 :user2', :action => :tasteometer, :thread => true plugin.map 'np', :action => :now_playing, :thread => true -plugin.map 'lastfm', :action => :now_playing, :thread => true plugin.map "lastfm [user] :action [:user]", :thread => true, :requirements => { :action => /^(?:events|friends|neighbou?rs|playlists|recent?tracks|top(?:album|artist|tag)s?|weekly(?:album|artist|track)chart|weeklychartlist)$/ } +plugin.map "lastfm [:who]", :action => :now_playing, :thread => true |