add additional alias
This commit is contained in:
parent
7caa3d886d
commit
13af76df7a
|
@ -33,7 +33,7 @@ def translate(text, in_lang='auto', out_lang='en'):
|
||||||
return tl_text, data[2]
|
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 -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 היי', '"Hey" (iw to en, translate.google.com)')
|
||||||
@example('.tr mon chien', '"my dog" (fr to en, translate.google.com)')
|
@example('.tr mon chien', '"my dog" (fr to en, translate.google.com)')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user