Describe the bug
If someone were to request a translated transcription but also had extra text after the username, keyword, and language code then they run the chance of the bot mistaking that other text for a possible language code.
To Reproduce
Steps to reproduce the behavior:
Run the bot
Request a translated transcription but with the word 'text' after the desired language code
See error, which is the bot translating to the language code te that it pulled from 'text'
Expected behavior
For the bot to reply with a transcription translated to the language specified.
Project information
This issue has been present since the introduction of the translation feature
Describe the bug If someone were to request a translated transcription but also had extra text after the username, keyword, and language code then they run the chance of the bot mistaking that other text for a possible language code.
To Reproduce Steps to reproduce the behavior:
te
that it pulled from 'text'Expected behavior For the bot to reply with a transcription translated to the language specified.
Project information This issue has been present since the introduction of the translation feature