From 41ea4232df0ed0b3f922b0476444ca8e38f3301f Mon Sep 17 00:00:00 2001 From: Casey Link Date: Mon, 27 Oct 2008 15:53:26 -0400 Subject: * (lastfm) change the interface for associating an irc nick with a lastfm user. this way it is more intuitive. --- data/rbot/plugins/lastfm.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/rbot/plugins/lastfm.rb b/data/rbot/plugins/lastfm.rb index 0c40701c..d6a3eeea 100644 --- a/data/rbot/plugins/lastfm.rb +++ b/data/rbot/plugins/lastfm.rb @@ -82,7 +82,7 @@ class LastFmPlugin < Plugin when :now, :np _("lastfm now [] => show the now playing track from last.fm. np [] does the same.") when :set - _("lastfm set nick => associate your current irc nick with a last.fm user. lastfm set verb => set your preferred now playing verb. default \"listening\" and \"listened\".") + _("lastfm set user => associate your current irc nick with a last.fm user. lastfm set verb => set your preferred now playing verb. default \"listening\" and \"listened\".") when :who _("lastfm who [] => show who is at last.fm. if is empty, show who you are at lastfm.") when :compare @@ -422,6 +422,8 @@ plugin.map 'lastfm artist *artist', :action => :find_artist, :thread => true plugin.map 'lastfm album *album [by *artist]', :action => :find_album plugin.map 'lastfm track *track', :action => :find_track, :thread => true plugin.map 'lastfm set nick :who', :action => :set_user, :thread => true +plugin.map 'lastfm set user :who', :action => :set_user, :thread => true +plugin.map 'lastfm set username :who', :action => :set_user, :thread => true plugin.map 'lastfm set verb :present :past', :action => :set_verb, :thread => true plugin.map 'lastfm who :who', :action => :get_user, :thread => true plugin.map 'lastfm who', :action => :get_user, :thread => true -- cgit v1.2.3