From 890cd1f8817a7ff8ad995d78091696429730a7c7 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 10 Jul 2010 18:14:45 +0200 Subject: factoids plugin: more help --- data/rbot/plugins/factoids.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'data') 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 , forget that , facts about ") + case plugin + when 'learn' + _("learn that => learn a factoid") + when 'forget' + _("forget fact <#num> => forget factoid number #num ; forget about => forget a factoid") + else + _("factoids plugin: learn that , forget that , facts about ") + end end def learn(m, params) -- cgit v1.2.3