This Telegram bot can be used to track expenses in a group of people.
For a quick introduction see here.
For detailed instructions on how to use it, see here.
Just use cargo run
. The bot expects the TELOXIDE_TOKEN
environment variable to be defined, with
the bot token to use as value.
Upon start the bot will create a Sqlite database named treasurer.db
in the folder where it is
started.
The log level is INFO
and is hard-coded in the code (see main.rs
). Logs are written to the log
folder and files are rotated when they are larger than 10 megabytes. Only the last two files are
kept.
- turn foreign keys on with
PRAGMA foreign_keys = ON;
(?)
See here for discussions about possible improvements and new features.
See here for an overview of changes that we decided not to implement.