Skip to content

telegram bot to randomly choose people who should be in charge of choosing a movie

License

Notifications You must be signed in to change notification settings

fredericobormann/sneakbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.
  2. 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.)
  3. Run the main.go

About

telegram bot to randomly choose people who should be in charge of choosing a movie

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages