Canary is a Python3 bot designed for the McGill University Community Discord Server. The bot provides helper functions to users, as well as fun functions, a quote database and custom greeting messages.
GNU General Public License v3.0
11
stars
7
forks
source link
[BUG] ?translate is overly case-sensitive on language-region codes #473
?translate does not allow "proper" capitalization of ISO language-region codes such as zh-CN
Reproduction Steps
Go to any channel.
Send ?translate zh-CN>en 日本
Marty responds with:
First argument zh-CN>en could not be parsed to a proper command string for this function.
To learn more about how to use this command, call ?translate help
Bug Description
?translate
does not allow "proper" capitalization of ISO language-region codes such aszh-CN
Reproduction Steps
?translate zh-CN>en 日本