https://github.com/emrekardaslar/discord-translate-python-bot
Basic python bot to listen any language supported by Google Translate
https://github.com/emrekardaslar/discord-translate-python-bot
bot discord discord-bot python
Last synced: about 2 months ago
JSON representation
Basic python bot to listen any language supported by Google Translate
- Host: GitHub
- URL: https://github.com/emrekardaslar/discord-translate-python-bot
- Owner: emrekardaslar
- Created: 2020-03-06T21:00:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-06T18:34:37.000Z (over 4 years ago)
- Last Synced: 2025-02-28T18:05:47.402Z (over 1 year ago)
- Topics: bot, discord, discord-bot, python
- Language: Python
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# discord-translate-python-bot
Basic python bot to listen any language supported by Google Translate.
To use, type !t language "desired sentence". For example:
!t en "Hello World"
!t fr "Général Kenobi"
# Libraries needed to be installed:
Install libraries by:
```
pip install -r requirements.txt
```
Additionally
```
pip install PyAudio
```
If you face problems installing PyAudio on Windows:
Download pyaudio wheel from https://www.lfd.uci.edu/~gohlke/pythonlibs/ and pip install.
(https://stackoverflow.com/questions/53866104/pyaudio-failed-to-install-windows-10/53866322)
# Additional Features
* Can get the forecast data by using !w city_name command (like !w texas)
* Can get covid data by using !covid country_name
* Can get currency data by using !cur amount cur-from cur-to