From e8556ad9161cc6f2f4596eedb430fea0892bbe5f Mon Sep 17 00:00:00 2001 From: Raine Virta Date: Thu, 30 Apr 2009 00:52:41 +0300 Subject: remove fish.rb and map translate in translator.rb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Translator plugin supports babelfish, and getting rid of this plugin allows us to use ´translate´ command for better purposes. --- data/rbot/plugins/translator.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'data/rbot/plugins/translator.rb') diff --git a/data/rbot/plugins/translator.rb b/data/rbot/plugins/translator.rb index 4354fdc5..5f2dece7 100644 --- a/data/rbot/plugins/translator.rb +++ b/data/rbot/plugins/translator.rb @@ -374,5 +374,7 @@ class TranslatorPlugin < Plugin end plugin = TranslatorPlugin.new +plugin.map 'translate [:from] [:to] *phrase', + :action => :cmd_translator, :thread => true plugin.map 'translator [:from] [:to] *phrase', :action => :cmd_translator, :thread => true -- cgit v1.2.3