Skip to content

dkikimov/QueueBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QueueBot: Manage Lab Submission Queues with Telegram

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.

Getting Started:

  1. Clone the repository:

    git clone https://github.com/dkikimov/QueueBot.git
  2. Install dependencies:

    cd QueueBot
    go mod download
  3. 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

Docker way

  1. Build the image:

    docker build . -t queue-bot
  2. Create .env file:

    BOT_TOKEN=your_token
    APP_DEBUG=true
    TELEGRAM_DEBUG=true
    DATABASE_PATH=path
    
    
  3. Create and run container:

    docker run --env-file .env --rm queue-bot 

Authors

About

Managing queues using Telegram

Resources

Stars

Watchers

Forks

Packages

No packages published