From 13af76df7a11615a5b64df01d44141766ae60248 Mon Sep 17 00:00:00 2001 From: iou1name Date: Wed, 22 Feb 2023 08:31:53 -0500 Subject: [PATCH] add additional alias --- modules/translate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/translate.py b/modules/translate.py index f7fa2ad..927972a 100755 --- a/modules/translate.py +++ b/modules/translate.py @@ -33,7 +33,7 @@ def translate(text, in_lang='auto', out_lang='en'): return tl_text, data[2] -@commands('translate', 'tr') +@commands('translate', 'tr', 'tl') @example('.tr -i en -o fr my dog', '"mon chien" (en to fr, translate.google.com)') @example('.tr היי', '"Hey" (iw to en, translate.google.com)') @example('.tr mon chien', '"my dog" (fr to en, translate.google.com)')