This is a simple language aware Ruby chatbot for Telegram messenger using SimSimi API.
This bot detect input language from a list of provided languages and get the right resposes depending on it.
You may be able to check a working example here. (English, Persian)
- Clone the repository and install dependecies:
git clone https://github.com/mamal72/telegram-simsimi-chatbot
cd telegram-simsimi-chatbot
bundle install
- Talk to BotFather and get a Telegram Bot.
- Get your SimSimi UUID by sending a message here and inspecting your requests in browser DevTools. (query string)
- Set environment variables by editing
.env.example
file. - Rename
.env.example
to.env
. - Start the bot by running main file:
ruby main.rb
Really? Send your bot a message and see what happens! 😁
You can fork the repository, improve or fix it and then send the pull requests back if you want to see them here. I really appreciate that. ❤️