XHUB DOCS
Everything you need to set up, configure, and get the most out of XHub — the ultimate all-in-one Discord bot.
- Add XHub to your Discord server using the bot invite link
- Run
/setup panelto open the interactive setup console - Configure your log, mod, and music channels via the setup panel
- Enable the features you want (security, tickets, music, etc.)
- Use the web dashboard to manage everything visually
Security & Anti-Nuke
XHub's security system provides layered protection against common Discord attacks. All security features require the Manage Guild permission to configure.
/security antiraid enabled:true
/security automod enabled:true
/setup quarantine-role role:@Quarantine
Anti-Nuke — Monitors for rapid destructive actions (mass channel deletes, mass bans, mass role deletes). When triggered, the perpetrating user is immediately quarantined and their actions are logged to your security channel.
Anti-Raid — Detects mass-join events (10+ users joining within a short window). Triggers automatic verification requirements and can lock new accounts from sending messages.
Lockdown — Use /security lockdown to immediately deny message sending in all text channels. Use /security unlock to restore access.
Music Player
XHub uses Lavalink v4 for professional-grade audio streaming. Supports Spotify metadata expansion, YouTube, and SoundCloud.
/music play query:https://open.spotify.com/playlist/...
/music volume level:80
/music queue
JustType Mode — Enable with /justtype to designate a channel where any text message is treated as a music search query — no slash commands needed.
Moderation
XHub stores persistent moderation cases in Supabase, giving you a full audit trail across sessions.
/warn list user:@username
/setup mod-channel channel:#mod-logs
AutoMod — Enable with /security automod enabled:true. Configurable thresholds for mentions, duplicates, and invite links via the dashboard.
Ticket System
Deploy a fully-featured support ticket system with category routing, staff claiming, and auto-transcripts.
Run /ticket setup to open an interactive panel where you can configure the ticket category, staff role, log channel, and ticket categories (Support, Complaint, Emergency).