a telegram bot that holds your beer
Go to file
Eric S. Londres 82135166cd
add logfile and message cache to ignore
2021-03-28 14:34:57 -04:00
src implement Count command to explicitly request the beer count 2021-03-28 13:48:31 -04:00
.gitignore add logfile and message cache to ignore 2021-03-28 14:34:57 -04:00
.gitlab-ci.yml use debian instead of alpine 2021-03-10 17:07:08 -05:00
CHANGELOG.org upcate changelog 2021-03-28 14:32:02 -04:00
Cargo.lock bump version number 2021-03-28 14:32:06 -04:00
Cargo.toml bump version number 2021-03-28 14:32:06 -04:00
LICENSE fix license body 2021-02-05 22:01:46 -05:00
Readme.md update readme 2021-03-28 13:56:12 -04:00
Readme.org update readme 2021-03-28 13:56:12 -04:00
run.sh add run script 2021-03-28 14:30:22 -04:00
secret.sh.gpg wait 2021-03-28 14:28:10 -04:00

Readme.md

Table of Contents

  1. Commands
  2. Building & Running

A Telegram bot that holds your beer

Crates.io

Commands

  • /beer <text>

    Ask the bot to hold your beer. The text you give it will be associated with that beer in the future.

  • /ontap

    See what's on tap.

  • /quaff <number>

    Drink the beer with the given number. Numbers will be displayed by the /ontap command.

  • /corn

    Harvest some corn.

  • /count

    Get the current count of stored beers for this tap.

Building & Running

This project is managed with Cargo, so just build it with cargo build and whatever flags you want.

To run it, grab an API token from @BotFather on Telegram, and store it in an environment variable called TELOXIDE_TOKEN. Then just cargo run or execute the binary directly.