summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-20 13:49:18 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-20 13:49:18 +0000
commit5ebe5c74cbc88ed6dec78860a646b8e077abefb2 (patch)
treefd6affda217b1112841b5816236132b489b85daa /data/rbot/plugins
parentb684eb8f3efde42e96e1aaaa1e0230aa5d20fa4d (diff)
reaction plugin: update help
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/reaction.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/data/rbot/plugins/reaction.rb b/data/rbot/plugins/reaction.rb
index 448794b2..28d9f306 100644
--- a/data/rbot/plugins/reaction.rb
+++ b/data/rbot/plugins/reaction.rb
@@ -155,6 +155,8 @@ class ReactionPlugin < Plugin
"seek help for reaction trigger, reaction reply and reaction chance for more details"
end
case (topic.to_sym rescue nil)
+ when :add
+ help(:react)
when :remove, :delete, :rm, :del
"reaction #{topic} <trigger> => removes the reaction to expression <trigger>"
when :chance, :chances
@@ -173,8 +175,10 @@ class ReactionPlugin < Plugin
"stuff (everything that follows the trigger), match (the actual matched text)"
when :list
"reaction list [n]: lists the n-the page of programmed reactions (30 reactions are listed per page)"
+ when :show
+ "reaction show <trigger>: list the programmed replies to trigger <trigger>"
else
- "reaction topics: add, remove, delete, rm, del, triggers, replies, list"
+ "reaction topics: add, remove, delete, rm, del, triggers, replies, chance, list, show"
end
end