add additional alias

This commit is contained in:
iou1name 2023-02-22 08:31:53 -05:00
parent 7caa3d886d
commit 13af76df7a

View File

@ -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)')