summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-03-08 00:07:05 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-03-08 00:07:05 +0100
commit42704b6f5ab3ed9c3451b7fabee40d51d048a76f (patch)
treec7e1d3f1389c7484ff2791c9dcbe254e7258a795 /data/rbot
parent87a905b01dab90acd2e62975ac180e14b41f3eb8 (diff)
keywords plugin: document some more features in help
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/keywords.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/data/rbot/plugins/keywords.rb b/data/rbot/plugins/keywords.rb
index 8671e32f..58fcfe9b 100644
--- a/data/rbot/plugins/keywords.rb
+++ b/data/rbot/plugins/keywords.rb
@@ -325,6 +325,12 @@ class Keywords < Plugin
case plugin
when /keyword/
case topic
+ when 'export'
+ 'keyword export => exports definitions to keyword_factoids.rbot'
+ when 'stats'
+ 'keyword stats => show statistics about static facts'
+ when 'wipe'
+ 'keyword wipe <keyword> => forgets everything about a keyword'
when 'lookup'
'keyword [lookup] <keyword> => look up the definition for a keyword; writing "lookup" is optional'
when 'set'
@@ -348,7 +354,7 @@ class Keywords < Plugin
when '<topic>'
'<topic> => respond by setting the topic to the rest of the definition'
else
- 'keyword module (fact learning and regurgitation) topics: lookup, set, forget, tell, search, listen, address, <reply>, <action>, <who>, <topic>'
+ 'keyword module (fact learning and regurgitation) topics: lookup, set, forget, tell, search, listen, address, stats, export, wipe, <reply>, <action>, <who>, <topic>'
end
when "forget"
'forget <keyword> => forget a keyword'