summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/translator.rb
diff options
context:
space:
mode:
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