About This File
🚔 Duty Management System Bot (V1)
A fully automated, high-performance patrol coordination system designed specifically for FiveM London-based roleplay servers. Built for realism, efficiency, and command control, this bot streamlines patrol organisation from booking on to final tasking — all within Discord.
🔧 Core Features
🟢 Patrol Deployment System
Staff can initiate a patrol using /patrol, instantly sending a clean, professional embed to a dedicated channel with attendance controls.
👥 Interactive Attendance (Buttons)
Users can:
- Book On (join the patrol)
- Not Attending
- All handled through intuitive buttons — no commands required.
📩 Advanced Booking Flow
📬 Direct Message System
When a user books on, they receive:
- A confirmation embed (Awaiting Tasking)
- A full Preferred Patrol Role selector
🎯 Full Division Selection
Users can choose from a complete set of London RP divisions, including:
- Metropolitan Police (Core + Specialist Units)
- London Ambulance Service (LAS)
- London Fire Brigade (LFB)
- British Transport Police (BTP)
- National Highways (NHW)
- Civilian roles
All options are fully visible and structured across multiple dropdown menus for clarity and realism.
🧠 Command & Control (Host System)
📢 Patrol Host Dashboard
Once a user selects a preference:
- A notification is sent to the host command channel
- Includes the user’s preferred role
⚡ Final Assignment Override
Patrol hosts can:
- View the FULL division system (same as user)
- Select the user’s final assigned role
- Override preferences instantly
📨 Automated Tasking Confirmation
Once assigned:
- The user receives a Tasking Confirmed DM
- Clearly states their final division
- Maintains RP immersion and structure
🛡️ Built for Serious RP Communities
- Clean embed design (no clutter / no reply traces)
- Role-based command usage
- Fully asynchronous system (handles multiple users at once)
- Error-handled (DMs off, invalid interactions, etc.)
- Optimised for Railway deployment
⚙️ Technical Highlights
- Built with discord.js v14
- Uses structured component handling (buttons + dropdowns)
- Fully respects Discord API limits
- Modular dropdown system (scalable for future divisions)
- In-memory tracking (fast + lightweight)
🚀 Perfect For
- UK / London-based FiveM servers
- Emergency services RP communities
- Structured patrol systems
- Command-led roleplay environments
💡 Summary
This isn’t just a booking bot — it’s a complete patrol management system, giving staff full control while keeping the user experience smooth, immersive, and realistic.



