LUNA / DOCUMENTATION
Luna — Docs
Luna is the moderation and administration bot of Sxnnyside Project: sanctions validated against role hierarchy and permissions, configurable AutoMod filters (spam, invites, mentions), an audit trail, welcome and farewell messages, reminders, polls and server administration commands.
On this page
Overview
- Operated by: Sxnnyside Project
- Languages: English, Spanish, Portuguese, French, German, Japanese and Korean (per server).
Add it to your server
The invite link asks for these permissions. Each one is used by the feature listed next to it; you can remove any you do not need, and the related commands will simply refuse to run.
| Permission | Used for |
|---|---|
| View Channels | See the channels it works in. |
| Send Messages | Reply to commands and post logs. |
| Embed Links | Show rich embeds. |
| Read Message History | Resolve the messages AutoMod acts on. |
| Kick Members | /kick and the sanction menu. |
| Ban Members | /ban, /unban and the sanction menu. |
| Moderate Members | /timeout and automatic timeouts. |
| Manage Roles | Role commands (create, edit, assign, remove). |
| Manage Channels | Channel and category commands. |
| Manage Server | Server name, icon and banner commands. |
| Manage Messages | Delete messages flagged by AutoMod. |
| Manage Nicknames | /nickname. |
| Create Public Threads | One thread per user in the audit-log channel. |
| Send Messages in Threads | Write the audit-log entries. |
Gateway intents
Intents decide which events Discord sends to the bot. Privileged intents must be enabled for the application in the Discord Developer Portal.
| Intent | Permission | Used for |
|---|---|---|
| Guilds | Standard | Server, channel and role data needed to run commands. |
| Server Members | Privileged | Welcome and farewell messages and the role-change audit trail. |
| Guild Messages | Standard | Message events used by AutoMod and by deleted-message logs. |
| Message Content | Privileged | AutoMod reads message text to detect scam links, invite links and mass mentions. |
Commands (35)
This list is generated from the bot's own command definitions. “Who can use it” is Discord's default permission; a server can change it in Server Settings → Integrations.
| Command | What it does | Who can use it | Where |
|---|---|---|---|
/automod-config | Configures automated security filters (automod) for the server.Options: spam_filter, invite_filter, mention_filter | Manage Server | Servers only |
/ban | Permanently bans a user from the server.Options: user (required), reason | Ban Members | Servers only |
/category-create | Creates a new channel category in the server.Options: name (required) | Manage Channels | Servers only |
/channel-clone | Clones an existing channel with its permissions and settings.Options: channel (required) | Manage Channels | Servers only |
/channel-create | Creates a new channel in the server.Options: name (required), type (required), category | Manage Channels | Servers only |
/channel-delete | Deletes a channel from the server.Options: channel (required) | Manage Channels | Servers only |
/channel-edit | Modifies settings of an existing channel.Options: channel (required), name, topic, nsfw | Manage Channels | Servers only |
/config | Accesses the server configuration and modules panel. | Administrator | Servers only |
/embed | Creates and sends a custom formatted embed to the channel.Options: title (required), description (required), color | Manage Messages | Servers and DMs |
/farewell-setup | Configures farewell messages for members who leave the server. | Administrator | Servers only |
/forget-user | Permanently purges infraction history for a user to comply with data privacy policies.Options: user (required) | Administrator | Servers only |
/history | Shows the recorded infractions of a user in this server.Options: user (required) | Moderate Members | Servers only |
/info | Displays diagnostic and telemetry information about servers, users, or the bot./info server — Inspect server metadata and statistics./info user — View user profile and membership details./info role — Analyze permissions and configuration of a role./info channel — Show telemetry and configuration for a channel./info bot — Display bot runtime diagnostics and health. | Everyone | Servers only |
/kick | Kicks a user from the server.Options: user (required), reason | Kick Members | Servers only |
/nickname | Modifies the nickname of a member in the server.Options: user (required), nickname | Manage Nicknames | Servers only |
/ping | Displays system latency and telemetry verification. | Everyone | Servers and DMs |
/poll | Creates and launches an interactive poll with vote buttons.Options: question (required), option1 (required), option2 (required), option3, option4 | Everyone | Servers and DMs |
/remind | Schedules a reminder alert delivered via DM.Options: message (required), minutes (required) | Everyone | Servers and DMs |
/role-add | Assigns a role to a user.Options: user (required), role (required) | Manage Roles | Servers only |
/role-all | Mass-assigns a role to all members in the server.Options: role (required) | Administrator | Servers only |
/role-bots | Mass-assigns a role to all bot accounts in the server.Options: role (required) | Administrator | Servers only |
/role-create | Creates a new role in the server.Options: name (required), color, hoist, mentionable | Manage Roles | Servers only |
/role-delete | Deletes a role from the server.Options: role (required) | Manage Roles | Servers only |
/role-edit | Modifies settings of an existing role.Options: role (required), name, color, hoist | Manage Roles | Servers only |
/role-humans | Mass-assigns a role to all human members in the server.Options: role (required) | Administrator | Servers only |
/role-info | Displays information and metadata about a role.Options: role (required) | Everyone | Servers only |
/role-members | Lists members assigned to a specific role.Options: role (required) | Everyone | Servers only |
/role-remove | Removes a role from a user.Options: user (required), role (required) | Manage Roles | Servers only |
/server-banner | Updates the server banner from an image URL.Options: image_url (required) | Manage Server | Servers only |
/server-icon | Updates the server icon from an image URL.Options: image_url (required) | Manage Server | Servers only |
/server-rename | Renames the current server.Options: name (required) | Manage Server | Servers only |
/setnickname | Modifies your own nickname in the current server.Options: nickname | Everyone | Servers only |
/timeout | Temporarily mutes a user via Discord native timeout.Options: user (required), minutes (required), reason | Moderate Members | Servers only |
/unban | Removes a ban, allowing the user to rejoin.Options: user_id (required), reason | Ban Members | Servers only |
/welcome-setup | Configures welcome messages for new members. | Administrator | Servers only |
How it behaves
- Every slash command has a per-user cooldown (3 seconds by default).
- Sanctions and role changes are refused when the target is at or above the moderator's highest role, or above the bot's.
- AutoMod only runs the filters a server enables with /automod-config. A conclusive scam match acts alone; uncertain cases are flagged for human review.
- An optional AI classifier only adds evidence; it never acts on its own and is disabled by default.
- Audit-log entries are kept 90 days by default and never contain the message text.
Your data
What the bot stores and for how long is described in full in the privacy policy.
Support
Questions, reports or data requests: join the community Discord or open an issue on GitHub.
