https://github.com/fredericobormann/sneakbot
telegram bot to randomly choose people who should be in charge of choosing a movie
https://github.com/fredericobormann/sneakbot
bot golang gorm-orm telegram telegram-bot
Last synced: 6 days ago
JSON representation
telegram bot to randomly choose people who should be in charge of choosing a movie
- Host: GitHub
- URL: https://github.com/fredericobormann/sneakbot
- Owner: fredericobormann
- License: mit
- Created: 2020-06-17T21:24:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-16T12:47:18.000Z (over 4 years ago)
- Last Synced: 2025-03-18T01:27:39.196Z (over 1 year ago)
- Topics: bot, golang, gorm-orm, telegram, telegram-bot
- Language: Go
- Homepage:
- Size: 52.7 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sneakbot
This is a very small Telegram bot to randomly choose people that decide which film to watch during a weekly movie night.
It uses a sqlite database to store the people who agreed to help.
Since a truly random choosing method could take a lot of time to produce a fair result, the bot keeps track of how often a person was drawn and prefers people that have been chosen rarely.
## Installation
1. Copy the `config.yml.sample` and rename it to `config.yml`.
1. Enter your Telegram bot API token and the URL where your bot is listening for updates. (By default sneakbot listens on port 8443 on your local machine.)
1. Run the `main.go`