Skip to content

A Telegram bot that tracks expenses (debts and credits) in a group of people

License

Notifications You must be signed in to change notification settings

crash-g/bottino

Repository files navigation

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

About

A Telegram bot that tracks expenses (debts and credits) in a group of people

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages