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

user *
User to ban
reason
Reason for ban (optional)
delete_message_days
Days of messages to delete (0-7, optional)

Requires: Ban Members

/ban user:@user reason:"Repeated violations" delete_message_days:1

/unban

Unban a user by ID

user_id *
User ID to unban
reason
Reason for unban (optional)

Requires: Ban Members

/unban user_id:123456789 reason:"Appeal accepted"

/kick

Kick a member from the server

user *
User to kick
reason
Reason for kick (optional)

Requires: Kick Members

/kick user:@user reason:"Toxic behavior"

/timeout

Timeout a member (1 min - 28 days)

user *
User to timeout
duration *
Duration in minutes (1-40320)
reason
Reason for timeout (optional)

Requires: Moderate Members

/timeout user:@user duration:60 reason:"Spamming"

/untimeout

Remove timeout from a member

user *
User to remove timeout from
reason
Reason (optional)

Requires: Moderate Members

/warn

Warn a member (DMs user if possible)

user *
User to warn
reason
Reason for warning (optional)

Requires: Moderate Members

/warnings

View all warnings for a user

user *
User to check

/warning remove

Remove a specific warning by ID

user *
User with the warning
warning_id *
Warning ID to remove

Requires: Moderate Members

/warning clear

Clear all warnings for a user

user *
User to clear warnings for

Requires: Moderate Members

/purge

Delete messages in bulk (max 100)

amount *
Number of messages (1-100)
user
Only delete messages from this user (optional)
contains
Only delete messages containing this text (optional)

Requires: Manage Messages

/purge amount:50 user:@spammer

/slowmode

Set channel slowmode

channel
Channel to set (default: current)
duration *
Slowmode duration in seconds (0-21600)

Requires: Manage Channels

/lock

Lock a channel (remove Send Messages from @everyone)

channel
Channel to lock (default: current)
reason
Reason for lock (optional)

Requires: Manage Channels

/unlock

Unlock a previously locked channel

channel
Channel to unlock (default: current)

Requires: Manage Channels

/lockdown

Lock multiple configured channels at once

reason
Reason for lockdown (optional)

Requires: Manage Channels

/unlockdown

Unlock all channels locked by /lockdown

Requires: Manage Channels

/nickname

Change a member's nickname

user *
User to rename
nickname
New nickname (leave empty to reset)
reason
Reason (optional)

Requires: Manage Nicknames

/modlogs

View moderation history for a user

user *
User to view history for

/case

Inspect a specific moderation case

case_id *
Case ID to inspect

/modstats

View moderation statistics

user
Specific moderator (optional)
days
Days to look back (default: 30)

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

max_messages
Max messages in window (default: 5)
time_window
Time window in seconds (default: 10)
action
delete, warn, timeout, alert

/automod links

Configure link filtering

block_all
Block all links except allowlist (true/false)
allowed_domains
Comma-separated allowed domains
action
delete, warn, timeout, alert

/automod invites

Configure Discord invite blocking

block_discord_invites
Block all discord.gg links (true/false)
allowed_invites
Comma-separated allowed invite codes
action
delete, warn, timeout, alert

/automod words

Manage blocked word list

action
add, remove, list
words
Words to add/remove (comma-separated)
regex
Treat as regex pattern (true/false)

/automod mentions

Configure mention limits

max_user_mentions
Max user mentions per message
max_role_mentions
Max role mentions per message
action
delete, warn, timeout, alert

/automod caps

Configure caps detection

min_length
Min message length to check (default: 10)
max_percentage
Max caps percentage (default: 70%)
action
delete, warn, timeout, alert

/automod duplicates

Configure duplicate message detection

time_window
Time window in seconds (default: 60)
similarity
Similarity threshold % (default: 90)
action
delete, warn, timeout, alert

/automod exemptions

Manage exempt roles and channels

type
role, channel
action
add, remove, list
target
Role or channel to add/remove

/automod logs

Set automod log channel

channel *
Channel for automod logs

Welcome & Goodbye Commands

Configure custom join and leave messages.

/welcome setup

Configure welcome messages

channel *
Welcome channel
message
Plain text message
embed
Use embed mode (true/false)
title
Embed title
description
Embed description
color
Embed color (hex)

/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

role *
Role to assign
delay
Delay in seconds (optional)

/autorole add

Add an autorole

role *
Role to add
delay
Delay in seconds (optional)

/autorole remove

Remove an autorole

role *
Role to remove

/autorole list

List all configured autoroles

Logging Commands

Configure server event logging.

/logs setup

Set the main logging channel

channel *
Log channel

/logs events

Enable/disable specific event categories

message_edits
true/false
message_deletes
true/false
member_joins
true/false
member_leaves
true/false
moderation
true/false
role_changes
true/false
channel_changes
true/false
nickname_changes
true/false
voice_states
true/false

/logs ignore channel

Ignore a channel from logging

channel *
Channel to ignore

/logs ignore role

Ignore a role from logging

role *
Role to ignore

/logs ignore remove

Remove an ignored channel or role

type *
channel or role
target *
Channel or role to remove

/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

user *
Target user
role *
Role to add

/role remove

Remove a role from a member

user *
Target user
role *
Role to remove

/role info

View role details

role *
Role to inspect

/role list

List all server roles

/role members

Show members with a specific role

role *
Role to check

/role create

Create a new role

name *
Role name
color
Role color (hex)
hoist
Display separately (true/false)
mentionable
Allow mentions (true/false)

/role delete

Delete a role (with confirmation)

role *
Role to delete

/role color

Change a role's color

role *
Target role
color *
New color (hex)

/role all

Add/remove role in bulk (restricted)

action *
add or remove
role *
Target role
target
all, bots, humans, no_roles

/member info

View member information

user
User to inspect (default: yourself)

/avatar

View a user's avatar

user
User (default: yourself)

/userinfo

View account and server member details

user
User (default: yourself)

/serverinfo

View server information

/roleinfo

View detailed role information

role *
Role to inspect

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

question *
Poll question
options *
Comma-separated options (max 10)
duration
Duration in minutes (default: 60)

/remind

Create a reminder

time *
When to remind (e.g., "1h", "30m", "tomorrow 5pm")
message *
Reminder message

/afk

Set or clear AFK status

message
AFK message (leave empty to clear)

/embed

Create a custom embed (requires perms)

/say

Send a message as Lyx (restricted)

channel *
Target channel
message *
Message to send

/8ball

Ask the magic 8-ball

question *
Your question

/choose

Pick from provided options

options *
Comma-separated options

/coinflip

Flip a coin

/roll

Roll dice

dice
Dice notation (e.g., "2d6", "1d20")

/quote

Quote a message (where authorized)

message_id *
Message ID to quote

/timestamp

Generate Discord timestamp

time *
Date/time (e.g., "tomorrow 5pm", "2025-12-25")
style
t, T, d, D, f, F, R

/permissions

Inspect Lyx's permissions in a channel

channel
Channel to check (default: current)

/suggest

Submit a suggestion

suggestion *
Your suggestion

Community Commands

Server engagement and community features.

/serverstats

Show server statistics

/membercount

Show current member count

/suggestion setup

Configure suggestion channel

channel *
Suggestion channel

/suggestion approve

Approve a suggestion

message_id *
Suggestion message ID

/suggestion deny

Deny a suggestion

message_id *
Suggestion message ID

/suggestion status

Update suggestion status

message_id *
Suggestion message ID
status *
planned, in_progress, done, declined

/poll end

End a running poll early

message_id *
Poll message ID

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

message *
Announcement message

/lyx guild

Inspect a server's bot configuration (owner only)

guild_id *
Server ID

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

CommandRequired PermissionHierarchy Check
/banBan MembersYes
/unbanBan MembersNo
/kickKick MembersYes
/timeoutModerate MembersYes
/untimeoutModerate MembersYes
/warnModerate MembersYes
/purgeManage MessagesNo
/slowmodeManage ChannelsNo
/lock /unlockManage ChannelsNo
/nicknameManage NicknamesYes
/role add/removeManage RolesYes
/role create/deleteManage RolesYes
Automod actionsBased on action typeYes