a telegram bot that holds your beer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Eric S. Londres 99dae44e60 Merge branch 'bovine' into 'master' 1 year ago
src add bovine 1 year ago
.gitignore add logfile and message cache to ignore 2 years ago
.gitlab-ci.yml exit 2 years ago
CHANGELOG.org [v0.3.8] /corn now embeds images rather than posting URLs 1 year ago
Cargo.lock [v0.3.8] /corn now embeds images rather than posting URLs 1 year ago
Cargo.toml [v0.3.8] /corn now embeds images rather than posting URLs 1 year ago
LICENSE fix license body 2 years ago
Readme.org update readme 1 year ago
deaths.txt add source dataset for YAST 1 year ago
run.sh add run script 2 years ago
secret.sh.gpg exit 2 years ago

Readme.org

BeerHolderBot

A Telegram bot that holds your beer

Crates.io pipeline status

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.
  • /yasd Die stupidly.

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.