summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/translator.rb
diff options
context:
space:
mode:
authorRaine Virta <rane@kapsi.fi>2009-04-30 00:52:41 +0300
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-04-30 13:46:49 +0200
commite8556ad9161cc6f2f4596eedb430fea0892bbe5f (patch)
treeea4d2f68a8ae25ea9bcf73b6a0ce44fddf7db621 /data/rbot/plugins/translator.rb
parentcdbaaee4b94473dac0f3284d66e971ae70f276b7 (diff)
remove fish.rb and map translate in translator.rb
Translator plugin supports babelfish, and getting rid of this plugin allows us to use ´translate´ command for better purposes.
Diffstat (limited to 'data/rbot/plugins/translator.rb')
-rw-r--r--data/rbot/plugins/translator.rb2
1 files changed, 2 insertions, 0 deletions
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