diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-02-13 00:16:23 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-02-13 00:16:23 +0100 |
commit | 27ee4fabaebdb1f78b1eb6cfb31c43f1dc5a7f49 (patch) | |
tree | 0a51845f0f54277e7844e97646b17f91dfe1144c /data/rbot | |
parent | 21c492a38db47c4a50329f6cd734fba0b88b714d (diff) |
factoids plugin: don't be too verbose when learning facts
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/factoids.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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 |