From fb639f2a686e3261120ddbfb34602f5d56fab356 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 8 Aug 2008 14:13:10 +0200 Subject: lastfm plugin: support 'lastfm username' as the help suggests --- data/rbot/plugins/lastfm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot') 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 -- cgit v1.2.3