a telegram bot that holds your beer
Go to file
Eric S. Londres 99dae44e60 Merge branch 'bovine' into 'master'
add bovine

See merge request slondr/BeerHolderBot!29
2021-08-22 02:16:37 +00:00
src add bovine 2021-08-21 22:05:29 -04:00
.gitignore add logfile and message cache to ignore 2021-03-28 14:34:57 -04:00
.gitlab-ci.yml exit 2021-03-28 18:14:50 -04:00
CHANGELOG.org [v0.3.8] /corn now embeds images rather than posting URLs 2021-05-05 01:04:14 -04:00
Cargo.lock [v0.3.8] /corn now embeds images rather than posting URLs 2021-05-05 01:04:14 -04:00
Cargo.toml [v0.3.8] /corn now embeds images rather than posting URLs 2021-05-05 01:04:14 -04:00
LICENSE fix license body 2021-02-05 22:01:46 -05:00
Readme.org update readme 2021-04-23 01:36:23 -04:00
deaths.txt add source dataset for YAST 2021-04-22 23:55:22 -04:00
run.sh add run script 2021-03-28 14:30:22 -04:00
secret.sh.gpg exit 2021-03-28 18:14:50 -04:00

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.