summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/chucknorris.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-11-04 01:24:06 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-11-04 01:24:06 +0000
commit1f2a7ba69a4aa116924b94eb4af74e2301a787a8 (patch)
treec06b07c294be9ce8cd6dea061218388114f2f46d /data/rbot/plugins/chucknorris.rb
parent96733ef02eace65d3d58bc53426e400abbc72f3e (diff)
factoids plugin: fact command (get a random fact). Remove fact command from chucknorris plugin
Diffstat (limited to 'data/rbot/plugins/chucknorris.rb')
-rw-r--r--data/rbot/plugins/chucknorris.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/chucknorris.rb b/data/rbot/plugins/chucknorris.rb
index 78327ccf..bf9d70f4 100644
--- a/data/rbot/plugins/chucknorris.rb
+++ b/data/rbot/plugins/chucknorris.rb
@@ -43,7 +43,7 @@ class ChuckNorrisPlugin < Plugin
# HELP!
def help(plugin, topic="chuck")
- "fact|chuck|norris|chucknorris [min_rating] => \"fact\" shows a random Chuck Norris fact (optional minimum rating from 1-10, default=6.0)."
+ "chuck|norris|chucknorris [min_rating] => show a random Chuck Norris fact (optional minimum rating from 1-10, default=6.0)."
#\"fact [person]\" shows a fact about someone in the channel.
end
@@ -67,7 +67,7 @@ end
plugin = ChuckNorrisPlugin.new
-plugin.map 'fact :minrating', :action => 'fact', :defaults => {:minrating=>MIN_RATING}
+# plugin.map 'fact :minrating', :action => 'fact', :defaults => {:minrating=>MIN_RATING}
plugin.map 'chucknorris :minrating', :action => 'fact', :defaults => {:minrating=>MIN_RATING}
plugin.map 'chuck :minrating', :action => 'fact', :defaults => {:minrating=>MIN_RATING}
plugin.map 'norris :minrating', :action => 'fact', :defaults => {:minrating=>MIN_RATING}