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

Add '--pattern' parameter to specify a regex trigger #66

Open
nicobo opened this issue Mar 16, 2021 · 0 comments
Open

Add '--pattern' parameter to specify a regex trigger #66

nicobo opened this issue Mar 16, 2021 · 0 comments
Labels
enhancement New feature or request transbot

Comments

@nicobo
Copy link
Member

nicobo commented Mar 16, 2021

Currently there are :

a. commands to explicitly translate a text
b. keywords to implicitly translate the whole message containing them

Keywords are simple words that are :

  1. translated into any known language
  2. transformed into a regex

Allow specifying directly the regex that will trigger an implicit translation, rather than a indirect list of keywords.
Keywords should then just be a input to generate a list of such patterns.

@nicobo nicobo added enhancement New feature or request transbot labels Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request transbot
Projects
None yet
Development

No branches or pull requests

1 participant