Command Reference
Complete list of all Lyx slash commands. Use / in Discord for live autocomplete.
Moderation Commands
Core moderation tools with case tracking, role hierarchy enforcement, and audit trails.
/ban
Ban a member from the server
Requires: Ban Members
/ban user:@user reason:"Repeated violations" delete_message_days:1
/unban
Unban a user by ID
Requires: Ban Members
/unban user_id:123456789 reason:"Appeal accepted"
/kick
Kick a member from the server
Requires: Kick Members
/kick user:@user reason:"Toxic behavior"
/timeout
Timeout a member (1 min - 28 days)
Requires: Moderate Members
/timeout user:@user duration:60 reason:"Spamming"
/untimeout
Remove timeout from a member
Requires: Moderate Members
/warn
Warn a member (DMs user if possible)
Requires: Moderate Members
/warnings
View all warnings for a user
/warning remove
Remove a specific warning by ID
Requires: Moderate Members
/warning clear
Clear all warnings for a user
Requires: Moderate Members
/purge
Delete messages in bulk (max 100)
Requires: Manage Messages
/purge amount:50 user:@spammer
/slowmode
Set channel slowmode
Requires: Manage Channels
/lock
Lock a channel (remove Send Messages from @everyone)
Requires: Manage Channels
/unlock
Unlock a previously locked channel
Requires: Manage Channels
/lockdown
Lock multiple configured channels at once
Requires: Manage Channels
/unlockdown
Unlock all channels locked by /lockdown
Requires: Manage Channels
/nickname
Change a member's nickname
Requires: Manage Nicknames
/modlogs
View moderation history for a user
/case
Inspect a specific moderation case
/modstats
View moderation statistics
Auto-Moderation Commands
Configure automated moderation rules for spam, links, invites, words, and more.
/automod status
View current automod configuration
/automod enable
Enable auto-moderation
/automod disable
Disable auto-moderation
/automod spam
Configure spam detection
/automod links
Configure link filtering
/automod invites
Configure Discord invite blocking
/automod words
Manage blocked word list
/automod mentions
Configure mention limits
/automod caps
Configure caps detection
/automod duplicates
Configure duplicate message detection
/automod exemptions
Manage exempt roles and channels
/automod logs
Set automod log channel
Welcome & Goodbye Commands
Configure custom join and leave messages.
/welcome setup
Configure welcome messages
/welcome test
Send a test welcome message
/welcome disable
Disable welcome messages
/goodbye setup
Configure goodbye messages (same options as welcome)
/goodbye test
Send a test goodbye message
/goodbye disable
Disable goodbye messages
/autorole setup
Configure autoroles for new members
/autorole add
Add an autorole
/autorole remove
Remove an autorole
/autorole list
List all configured autoroles
Logging Commands
Configure server event logging.
/logs setup
Set the main logging channel
/logs events
Enable/disable specific event categories
/logs ignore channel
Ignore a channel from logging
/logs ignore role
Ignore a role from logging
/logs ignore remove
Remove an ignored channel or role
/logs status
Show current logging configuration
/logs test
Send a test log message
/logs disable
Disable all logging
Roles & Member Commands
Manage roles and view member information.
/role add
Add a role to a member
/role remove
Remove a role from a member
/role info
View role details
/role list
List all server roles
/role members
Show members with a specific role
/role create
Create a new role
/role delete
Delete a role (with confirmation)
/role color
Change a role's color
/role all
Add/remove role in bulk (restricted)
/member info
View member information
/avatar
View a user's avatar
/userinfo
View account and server member details
/serverinfo
View server information
/roleinfo
View detailed role information
Utility & Information Commands
General purpose commands for information and fun.
/help
Browse all available commands
/ping
Check bot latency
/botinfo
Show bot version, uptime, and stats
/invite
Get Lyx's invite link
/support
Get support server link
/dashboard
Get dashboard link
/docs
Open help.lyx.lol
/commands
Browse command categories
/poll
Create a poll
/remind
Create a reminder
/afk
Set or clear AFK status
/embed
Create a custom embed (requires perms)
/say
Send a message as Lyx (restricted)
/8ball
Ask the magic 8-ball
/choose
Pick from provided options
/coinflip
Flip a coin
/roll
Roll dice
/quote
Quote a message (where authorized)
/timestamp
Generate Discord timestamp
/permissions
Inspect Lyx's permissions in a channel
/suggest
Submit a suggestion
Community Commands
Server engagement and community features.
/serverstats
Show server statistics
/membercount
Show current member count
/suggestion setup
Configure suggestion channel
/suggestion approve
Approve a suggestion
/suggestion deny
Deny a suggestion
/suggestion status
Update suggestion status
/poll end
End a running poll early
/reminders
View your active reminders
/leaderboard
Show activity leaderboard (if enabled)
Bot Administration Commands
Owner-only commands for bot management.
/lyx status
Show service and bot status
/lyx version
Show running version
/lyx diagnostics
Check bot permissions and configuration
/lyx reload
Reload configuration (bot admin only)
/lyx maintenance
Toggle maintenance mode (owner only)
/lyx announce
Send platform announcement (owner only)
/lyx guild
Inspect a server's bot configuration (owner only)
/lyx sync
Synchronize slash commands (owner only)
Permission Reference
All moderation commands enforce Discord's role hierarchy. Lyx cannot act on users with roles higher than or equal to its highest role, or users with roles higher than the command invoker (unless they're the server owner).
| Command | Required Permission | Hierarchy Check |
|---|---|---|
| /ban | Ban Members | Yes |
| /unban | Ban Members | No |
| /kick | Kick Members | Yes |
| /timeout | Moderate Members | Yes |
| /untimeout | Moderate Members | Yes |
| /warn | Moderate Members | Yes |
| /purge | Manage Messages | No |
| /slowmode | Manage Channels | No |
| /lock /unlock | Manage Channels | No |
| /nickname | Manage Nicknames | Yes |
| /role add/remove | Manage Roles | Yes |
| /role create/delete | Manage Roles | Yes |
| Automod actions | Based on action type | Yes |