A production-grade Discord bot built for developers who need a fully synchronized voice channel queue.
It assigns numbered positions in real-time, updates instantly on join/leave, restores original nicknames, and persists data to survive restarts.
Designed to handle race conditions, Discord event delays, and permission limitations β without breaking sync. π
- ποΈ Real-time numbering β Assigns queue positions the moment someone joins the configured voice channel.
- π Automatic renumbering β Updates instantly when members join or leave.
- β»οΈ Original nickname restore β Brings back exact nicknames upon leaving.
- πΎ Persistent storage β Saves queue state and nicknames in
queue_data.json
and reloads on startup. - π‘οΈ Per-guild locking β Prevents race conditions during simultaneous events.
- β‘ Robust event handling β Handles Discord API lag or out-of-order events without losing sync.
- π« No duplicate numbers β Nicknames always built from stored originals.
- π― Permission fallback β Tracks queue even without nickname permissions.
- Node.js v18+
- A Discord bot with the following:
Manage Nicknames
View Channels
Connect
Guild Members Intent
enabled in the Developer Portal