https://github.com/sathyabhat/tumibot
A simple autoreply bot for telegram which replies to random messages at random times with a random weightage
https://github.com/sathyabhat/tumibot
bot chatbot telegram telegram-bot
Last synced: about 1 year ago
JSON representation
A simple autoreply bot for telegram which replies to random messages at random times with a random weightage
- Host: GitHub
- URL: https://github.com/sathyabhat/tumibot
- Owner: SathyaBhat
- License: mit
- Created: 2016-09-09T08:14:00.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-23T19:35:47.000Z (over 9 years ago)
- Last Synced: 2025-02-01T06:13:29.366Z (over 1 year ago)
- Topics: bot, chatbot, telegram, telegram-bot
- Language: Ruby
- Homepage:
- Size: 16.6 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Tumibot - Telegram bot which replies with 'catchphrases' at random times. Hilarity level depends on context, not 100% guaranted. But guaranteed not to spam
###Pre requisites
sudo apt-get install ruby2.3-dev build-essential
###Steps to get it up and running
- Install bundler
gem install bundler
- Install required gems
bundle install
- Create the db folder
mkdir db/
- Run the db-setup module
ruby db-setup.rb
- Configure the bot:
Copy the `yaml.example` files to `.yaml` and modify `secrets.yaml` to add the Telegram bot token. Change the `user_confidence_levels.yaml` by updating the username, weight and responses the bot must send.
###Bot dev
If you'd like to work further on the bot, there's a Vagrant file which you can customize before you bring it up with
vagrant up
vagrant ssh