Block Car (/block_car)
Block Car
The /block_car command adds a vehicle to the blacklist. All active passes for that plate are automatically cancelled and pass owners are notified. Available to roles: guard, admin.
Block Car Flow
flowchart TD A(["/block_car"]) --> B["Enter vehicle plate number"] B -->|Already blocked| C["⚠️ Vehicle already blocked"] B -->|Plate OK| D["Enter reason for blocking"] D --> E["Attach photo (or /skip)"] E --> F["Confirm action"] F -->|Confirm| G["Vehicle blocked"] G --> H["Passes cancelled + Notified"] F -->|Cancel| I["❌ Cancelled"]
Step-by-Step
Step 1 — Plate Number
/block_carBot response:
🚫 Block Car
Enter the vehicle plate number:If already blacklisted:
⚠️ Vehicle A777AA99 is already blocked.Step 2 — Reason
📝 Enter reason for blocking:Enter the reason, e.g.:
Repeated parking on the lawnMaximum 1000 characters.
Step 3 — Photo
📷 Attach a photo of the violationor send /skip to skip.- Send a photo to attach it to the blacklist record
- Send
/skipif no photo is available
Step 4 — Confirmation
🚫 Block Confirmation
Plate: A777AA99Reason: Repeated parking on the lawnPhoto: ✅ attached
Confirm blocking?[✅ Confirm] [❌ Cancel]Result
✅ Vehicle blocked
Plate: A777AA99Passes cancelled: 2📢 Notified: 1 usersWhat Happens After Blocking
- Vehicle is added to the blacklist
- All active passes for this plate are cancelled
- Each pass owner receives a Telegram notification
Unblocking
Only an administrator can unblock a vehicle using /unblock_car.