From 27ee4fabaebdb1f78b1eb6cfb31c43f1dc5a7f49 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 13 Feb 2008 00:16:23 +0100 Subject: factoids plugin: don't be too verbose when learning facts --- data/rbot/plugins/factoids.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'data/rbot') diff --git a/data/rbot/plugins/factoids.rb b/data/rbot/plugins/factoids.rb index 2d9596e7..0279b90a 100644 --- a/data/rbot/plugins/factoids.rb +++ b/data/rbot/plugins/factoids.rb @@ -240,8 +240,7 @@ class FactoidsPlugin < Plugin else @factoids << factoid @changed = true - m.okay - fact(m, :index => @factoids.length.to_s) + m.reply _("okay, learned fact #%{num}: %{fact}" % { :num => @factoids.length, :fact => @factoids.last}) parse_for_trigger(factoid) end end -- cgit v1.2.3