Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.33 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.33 KB

Treasurer bot a.k.a. bottino

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.

Build and run

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.

TODO list

  • turn foreign keys on with PRAGMA foreign_keys = ON; (?)

Future plans

See here for discussions about possible improvements and new features.

Discarded plans

See here for an overview of changes that we decided not to implement.

Useful links