add language code list
This commit is contained in:
parent
13af76df7a
commit
53e75ad05c
|
@ -43,6 +43,7 @@ def tr2(bot, trigger):
|
||||||
|
|
||||||
-i LANG, --inlang LANG - specifies the assumed input language.
|
-i LANG, --inlang LANG - specifies the assumed input language.
|
||||||
-o LANG, --outlang LANG - specifies the desired output 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:
|
if len(trigger.args) < 2:
|
||||||
return bot.reply("Translate what?")
|
return bot.reply("Translate what?")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user