DOCUMENTATION

XHUB DOCS

Everything you need to set up, configure, and get the most out of XHub — the ultimate all-in-one Discord bot.

Quick Start
  1. Add XHub to your Discord server using the bot invite link
  2. Run /setup panel to open the interactive setup console
  3. Configure your log, mod, and music channels via the setup panel
  4. Enable the features you want (security, tickets, music, etc.)
  5. Use the web dashboard to manage everything visually
FEATURES

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 antinuke enabled:true
/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:lo-fi hip hop radio
/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 add user:@username reason:Spam
/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.

/ticket setup

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).