I just want to share and help others with my code that translates any sentences.
This code is written in cog, so it looks the way it looks.
- In the console of your computer, add this:
pip install googletrans==4.0.0-rc1
- Then just create a cog file under the name translatorcmd.py (or whatever you want) and paste the code into this file and enjoy the new command in your bot.
I hope I am not violating any rules of the site agreement, if so, I apologize immediately and will do what is necessary, thank you.