LRLC is a Telegram bot designed for resource management. It helps track the receipt, maintenance, extradition, and replacement of items, as well as keeping notes. The bot uses a state machine to guide the user through different processes.
The bot responds to the following commands:
/start- Initializes the bot and welcomes the user./receipt- Starts the process of recording a new item receipt./maintenance- Starts the process of recording maintenance on an item./extradition- Starts the process of recording the extradition of an item./replacement- Starts the process of recording the replacement of an item./notes- Allows the user to add notes.
The bot requires the following environment variables to be set:
TOKEN- Your Telegram bot token.ENTRYPOINT- The entrypoint for the bot (e.g.,pollingorwebhook).
To build the bot, you need to have Docker installed.
- Login to the GitHub Container Registry:
docker login ghcr.io - Build the Docker image:
docker buildx build --platform linux/amd64 --tag ghcr.io/eugeneyak/lrlc --push .
To upgrade the Ruby version, use the following command:
mise use [email protected]