diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-07-10 18:14:45 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-07-10 18:14:45 +0200 |
commit | 890cd1f8817a7ff8ad995d78091696429730a7c7 (patch) | |
tree | 0a6d270c1e174a0980489ea6b9e691baa32857ff /data/rbot | |
parent | d0cf3bdc334e903ed03c11ae9dcec003b84038d2 (diff) |
factoids plugin: more help
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/factoids.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/data/rbot/plugins/factoids.rb b/data/rbot/plugins/factoids.rb index ba6e8845..3ca19017 100644 --- a/data/rbot/plugins/factoids.rb +++ b/data/rbot/plugins/factoids.rb @@ -260,7 +260,14 @@ class FactoidsPlugin < Plugin end def help(plugin, topic="") - _("factoids plugin: learn that <factoid>, forget that <factoids>, facts about <words>") + case plugin + when 'learn' + _("learn that <factoid> => learn a factoid") + when 'forget' + _("forget fact <#num> => forget factoid number #num ; forget about <factoid> => forget a factoid") + else + _("factoids plugin: learn that <factoid>, forget that <factoid>, facts about <words>") + end end def learn(m, params) |