QueueBot is a GoLang-based Telegram bot designed to help students in my university group efficiently manage queues for submitting laboratory works. With this bot, students can:
- Create new queues for specific lab assignments.
- Join or leave existing queues seamlessly.
- Choose between shuffling the queue for fairness or advancing in straight order.
- See who is currently passing a lab work.
Benefits:
- Reduces waiting time: Queues ensure organized submissions, preventing chaotic rushes.
- Fairness and transparency: Shuffling and order options provide equal opportunity.
- Convenience and accessibility: Students can manage queues directly through Telegram.
- Notifications: Keeps everyone informed about their position and queue updates.
-
Clone the repository:
git clone https://github.com/dkikimov/QueueBot.git
-
Install dependencies:
cd QueueBot go mod download -
Build and run the bot:
go build cmd/main.go BOT_TOKEN={your_token} APP_DEBUG={true or false} TELEGRAM_DEBUG={true or false} DATABASE_PATH={path} ./main
-
Build the image:
docker build . -t queue-bot -
Create .env file:
BOT_TOKEN=your_token APP_DEBUG=true TELEGRAM_DEBUG=true DATABASE_PATH=path -
Create and run container:
docker run --env-file .env --rm queue-bot