Translation Chatbot on Telegram!
To have the chatbot up and running through your local system, clone the repository locally and run:
python2 translatorbot.py
Chatbot is only functional on Telegram when running on your local machine. Previously, deployment was done using Heroku and Dropbox. However, monthly payments were required, making me stop it! :(
- Python
- Telegram
- Telepot library (Telegram Bot API)
- Yandex.Translate (Third-party API)
Run the command: python2 translatorbot.py
,
and if all goes well, you will see the message: Translator@NTU at your service....
Search for @translator_123123bot in the search bar and hit start to interact with the chatbot!
The first recognised command is /translate. Following is how you use it:
The second recognised command is /list. It shows you all the possible 90 languages: