-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add translator #18
Comments
Would this work? https://www.microsoft.com/en-us/translator/faq.aspx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
~translate "[stringInput]" to [outputLanguage] Would take the input string through Google Translate's API, auto detect the language, and translate it to the target language. Hourai would then display the result and ping the calling user
User: ~translate "おはようございます" to ENG
Hourai: @user "おはようございます" translates to "Good morning"
~translate [integer] to [outputLanguage] Would take the inputted integer and parse the number of messages above it for any characters not in the specified target language, then take the foreign characters through the API and translate it into the target language. The translated output will be placed back into the original string, replacing the foreign characters originally given. If no integer is stated, the value defaults to 10
UserA: Hey guys, what's your favorite spell card?
UserB: I have a lot of them.
UserB: My favorite is probably 恋符「マスタースパーク」 though.
UserC: ~translate 5 to ENG
Hourai:
@userC
https://cloud.google.com/translate/
The text was updated successfully, but these errors were encountered: