Closed K4CZP3R closed 8 years ago
Hi, thanks for the PR. Really cool functionality!
But before merge, I would like you to refactor a little bit, just to be more like the rest of the project.
First, there is already a "/t", "/tts (text to speech).
And second, there is no need to create another class just to add a new Google functionality. There is already a "views/google.py". Just add there your method.
Thanks!
Thanks for great Translator! https://github.com/mouuff/Google-Translate-API Adds function to translate entered text and speak it
usage:
/t "text" lang (2 letters)
example:
/t "hoi, hoe gaat het" en