Server Management & Automation
Voice-Role Links
Automatically assign temporary Discord roles when users join specific voice or stage channels and remove them on disconnect.
1. Feature Overview
Voice-Role Links sync Discord roles dynamically to active Voice or Stage Channel presence—ideal for granting temporary @Voice Chatting text-channel access or event stage permissions.
2. How Voice-Role Links Works
Listening to voiceStateUpdate, whenever a member connects to or switches into a linked voice channel (voiceRoleLinks), Fusion Bot assigns the mapped roleIds and removes them cleanly as soon as the member disconnects or leaves that channel.
3. Required Permissions
- Server Member / Staff Permissions: Administrator / Manage Server (Dashboard configuration)
- Fusion Bot Permissions: Manage Roles (Bot role must outrank linked voice roles)
4. Setup Instructions
-
Create Temporary Access RoleEnsure your Discord role (e.g.,
@In Voice) sits below Fusion Bot’s highest role. -
Bind Voice Channel on DashboardOpen Voice-Role Links on https://panel.fusionhub.in/dashboard, choose the Voice/Stage channel and roles, and save.
5. Dashboard Configuration
Managed visually inside the Voice-Role Links panel (view-voiceroles).
6. Supported Commands
| Command | Parameters | Required Role | Description |
|---|---|---|---|
/voice | lock | unlock | move | kick | Voice Mod Permissions | Companion staff voice controls. |
7. Configuration Options
| Option / Setting | Default | Description |
|---|---|---|
voiceRoleLinks[].channelId | "" | Voice or Stage channel ID being tracked. |
voiceRoleLinks[].roleIds | [] | One or more Role IDs applied while connected. |
8. Practical Examples
text
Common Setup Pattern
Link #No-Mic-Lounge Voice Channel -> @No-Mic-Chat Role
Hide #no-mic-text from @everyone, allow only @No-Mic-Chat.
9. Recommended Settings
- Use dedicated role names like
@Active Voicerather than core staff or booster roles so disconnects never strip permanent roles.
10. Known Limitations
- If Fusion Bot is temporarily offline during a disconnect, role removal catches up on the next voice event or manual toggle.
11. Common Errors
| Symptom / Error | Cause | Resolution |
|---|---|---|
| Role not granted when joining voice | Linked role exceeds Fusion Bot’s role position. | Move Fusion Bot above the linked role in Discord Server Settings. |
12. Troubleshooting
- Confirm the exact Voice Channel ID is mapped, not an identically named text channel.