add language code list

This commit is contained in:
iou1name 2023-06-14 15:38:37 -04:00
parent 13af76df7a
commit 53e75ad05c

View File

@ -43,6 +43,7 @@ def tr2(bot, trigger):
-i LANG, --inlang LANG - specifies the assumed input language.
-o LANG, --outlang LANG - specifies the desired output language.
See https://cloud.google.com/translate/docs/languages for language codes.
"""
if len(trigger.args) < 2:
return bot.reply("Translate what?")