Skip to content
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

New command: /translate (utility) #18

Closed
vb2007 opened this issue Jun 27, 2024 · 0 comments · Fixed by #83 or #92
Closed

New command: /translate (utility) #18

vb2007 opened this issue Jun 27, 2024 · 0 comments · Fixed by #83 or #92
Assignees
Labels
new command New /slash command request

Comments

@vb2007
Copy link
Owner

vb2007 commented Jun 27, 2024

A command, that lets a user translate messages in other languages.

Parameters

  • [REQUIRED] language: lets the user specify the target language
  • [optional] message-amount: lets the user specify the amount of messages above the command execution message that will get translated.
  • [optional] message-link: lets the user specify a message.

If neither optional option is specified, the bot will reply with "please specify one of the options".

If both optional options are specified, the bot will reply with "please specify only one translation method".

How to make it real

I bet Google Translate or some other translation tool has an API for this.

The bot will reply with something like this:

Translated message(s) to {LANGUAGE}.

{ORIGINAL_MESSAGE_SENDER_USERNAME} at {ORIGINAL_MESSAGE} : {TRANSLATED_MESSAGE}
...
@vb2007 vb2007 added the new command New /slash command request label Jun 27, 2024
@vb2007 vb2007 self-assigned this Jun 27, 2024
@vb2007 vb2007 changed the title Feature: /translate command (utility) New command: /translate (utility) Jul 31, 2024
@vb2007 vb2007 linked a pull request Oct 2, 2024 that will close this issue
@vb2007 vb2007 linked a pull request Oct 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new command New /slash command request
Development

Successfully merging a pull request may close this issue.

1 participant