discord.js v14 · Production Ready
The Xyrox Bot
Command Reference
A complete reference for all 35 slash commands — from moderation and economy to AutoMod configuration. Built for server admins and developers.
Browse by Category
Moderation
Kick, ban, mute, warnings, bulk-delete and more.
XP & Levels
Level up system, leaderboard, XP management.
Economy
Cash, shop, gambling, fishing, daily rewards.
AutoMod
Configure Discord's AutoMod: keywords, spam, mentions.
Setup
Welcome channel, auto-role, XP channel config.
Utility
Help, ping, AFK mode and general tools.
Quick Access
All Commands
View every command in one grid
Source Code
Browse the annotated bot.js file
Setup Guide
Step-by-step bot configuration
Join Discord
Connect with the community
Add Bot
Invite Xyrox to your server
⚡ Step-by-Step Setup Guide
Get Xyrox up and running in your server — from invite to full configuration
Step 1 — Add Xyrox to Your Server
1
Click the Invite Link
Visit bit.ly/xyrox-xyz or click the 🤖 Add Bot button on this page. This opens Discord's authorization screen.
2
Select Your Server
From the dropdown, pick the server you want to add Xyrox to. You must have Manage Server permission on that server.
3
Grant Required Permissions
Review and approve the requested permissions. Xyrox needs:
Manage Roles, Kick/Ban Members, Manage Messages, and Manage Guild for full functionality.
Don't deselect any permissions unless you know what you're doing — missing permissions will cause commands to silently fail.
4
Complete CAPTCHA & Authorize
Complete the CAPTCHA if prompted, then click Authorize. Xyrox will appear in your member list and be ready to configure.
Step 2 — Basic Server Configuration
1
Set a Welcome Channel
Run
/setwelcome #channel to designate a channel where Xyrox greets new members automatically.2
Configure Auto-Role
Use
/setautorole @Role to assign a default role to every member who joins. Great for giving access to general channels.3
Set XP Level-Up Channel
Run
/setxpchannel #channel to choose where level-up notifications appear. Keep things tidy by using a dedicated #bot-logs channel.Step 3 — Configure AutoMod
1
Run the AutoMod Setup
Type
/automod setup to instantly create all 5 AutoMod rules: Keyword Filter, Invite Blocker, Spam Filter, Mention Limiter, and Harmful Content Filter.2
Set a Log Channel
Run
/automod setlog #channel so all AutoMod alerts are sent to a dedicated channel. Keeps your mods informed of triggered rules.3
Add Blocked Keywords
Use
/automod addword word to add slurs, spam phrases, or any forbidden terms. Use /automod addregex pattern for advanced pattern matching.4
Exempt Staff Roles & Channels
Run
/automod exemptrole @Mod so your staff aren't caught by AutoMod. Use /automod exemptchannel #channel for channels that need looser rules.
Check your current setup anytime with
/automod dashboard — it shows every rule's status, log channel, and exemptions in one embed.
Step 4 — Moderation Workflow
1
Issue Warnings
Use
/warn @user reason to log formal warnings. These stack per-user and can be reviewed with /warnings @user.2
Mute Troublesome Members
Run
/mute @user minutes reason to apply a Discord native timeout. Use /unmute @user to lift it early.3
Kick & Ban
Use
/kick @user or /ban @user for serious violations. Both commands DM the user the reason before acting.Step 5 — Economy & XP
1
XP is Automatic
Members earn XP passively by chatting. Use
/level to check progress, and /leaderboard to see the top 10.2
Economy Gets Going Automatically
Members can use
/daily to claim their first coins. From there they can /fish, /gamble, /rob, or browse the /shop.
All admin commands require the Administrator permission. Moderation commands require Kick Members or Ban Members depending on the action. Make sure Xyrox's role is ranked above the roles it needs to manage in your Server Settings → Roles.