sneakbot

command module
v0.0.0-...-1e14abc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 11 Imported by: 0

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.
  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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL