Skip to main content
All commands use Discord’s slash command system. Type / in any channel to see the autocomplete list.
The Permission column refers to the Discord permission the invoking member must have. Guardian’s own bot permissions are separate — see Quickstart → Minimal Permissions.

Setup Wizard

CommandDescriptionPermission
/setupLaunches the guided 7-step wizard: language, logs, modules, verification, tickets, staff role, initial backupAdministrator

Guardian Core

CommandDescriptionPermission
/guardian statusGlobal status: active modules, Ghost/Simulation modes, health score with recommendationsManage Messages
/guardian healthServer security score (0–100) with per-criterion breakdownManage Messages
/guardian ghostToggle Ghost Mode — Guardian acts silently with no public messagesManage Guild
/guardian simulateToggle Simulation Mode — detects threats without applying sanctions (dry run)Manage Guild
/guardian module <module> <enabled>Enable or disable an individual security moduleManage Guild
/guardian doctorDiagnose configuration: role hierarchy, bot permissions, log channel, role ID validityManage Guild
/certificateDisplay the public Guardian Secured certificate with server statisticsNone

Moderation

CommandArgumentsDescriptionPermission
/warn @member [reason]member required, reason optionalWarn a member · DM sent · -10 Trust ScoreManage Messages
/warnings @memberShow last 10 warnings with dates and moderatorsManage Messages
/clearwarns @memberClear all warnings for a memberManage Guild
/mute @member [duration] [reason]duration: 10m / 2h / 1d (max 28d), default 10mDiscord timeout · -15 Trust ScoreTimeout Members
/unmute @memberRemove a member’s timeoutTimeout Members
/kick @member [reason]Kick · severity 3 infraction · -25 Trust ScoreKick Members
/ban @user [reason] [days]days: 0–7 days of messages to deleteBan · severity 5 infractionBan Members
/unban <user_id>Lift a ban by user IDBan Members
/clear <amount> [@member]1–100 messages, member optionalDelete messages in the current channelManage Messages
/history @userFull user file: warnings (5), infractions (8), Trust ScoreManage Messages
/forget <user_id>Delete all Guardian data for a user (GDPR) — confirmation requiredManage Guild
/forget is irreversible. An explicit confirmation is required before execution.

Server Configuration

CommandArgumentsDescriptionPermission
/config logs <#channel>Set the Guardian logs channelAdministrator
/config lang <fr|en>Change the bot’s display languageManage Guild
/config roles [auto] [unverified] [verified]Optional rolesConfigure roles assigned on join and after verificationManage Guild

Anti-Phishing

Guardian automatically scans all URLs and QR codes in messages. The commands below let you customize this behavior.
CommandArgumentsDescriptionPermission
/antiphishing whitelist add <domain>Accepts full URLs or bare domainsAdd a domain to the whitelistManage Guild
/antiphishing whitelist listList whitelisted domains (ephemeral reply)Manage Guild
/antiphishing whitelist remove <domain>Remove a domain from the whitelistManage Guild
Auto-scan behavior: PhishTank + Google Safe Browsing + VirusTotal · Recursive redirect resolution (max 3 hops) · QR code scanning in image attachments · Action: message deletion, -40 Trust Score, 1h timeout, infraction log.

Anti-Raid

CommandArgumentsDescriptionPermission
/lockdown [state]on / off or toggleEnable/disable Lockdown (restricts messaging to verified members)Manage Guild
/panic [state]on / off or toggle🚨 Panic Mode: Lockdown + 10s slowmode + Captcha + admin DM alertsAdministrator
/antiraid config [params]See table belowAdjust detection thresholdsManage Guild

Trust Score

CommandArgumentsDescriptionPermission
/trust @memberShow Trust Score with history and automatic sanction thresholdsManage Messages
ScoreStatusAutomatic sanction
≥ 70🟢 Trusted
50–70🟡 Normal
30–50🟠 Watched
< 50⚠️ AlertWarning DM sent
< 30🔴 DangerAuto-mute 1h
< 10⚫ CriticalAuto-ban

AutoMod

CommandArgumentsDescriptionPermission
/automod statusDisplay full AutoMod configurationManage Guild
/automod toggleEnable or disable AutoModManage Guild
/automod spam <messages> <window>messages: 2–20, window: 3–60sConfigure anti-spam thresholdManage Guild
/automod caps <percent>30–100%Configure anti-caps thresholdManage Guild
/automod mentions <max>2–20 mentionsConfigure mass-mentions thresholdManage Guild
Automatic behaviors:
  • Anti-spam: 5 msgs/5s → warning, escalating mutes (1min → 5min → 10min → 1h)
  • Anti-caps: 75% caps + ≥8 chars → message deletion, -5 Trust Score
  • Anti-mentions: 5+ mentions → message deletion
  • Anti-repeat: same message 3x → deletion
  • Scam detection: regex patterns → deletion, -20 Trust Score, severity 3 infraction

Global Ban

/global ban triggers an immediate ban on every Guardian-protected server in the network. Double-check the target before using this command.
CommandArgumentsDescriptionPermission
/global ban @user <category> [details] [ban_here]category: scammer/raider/spammer/otherAdd to global blacklist (all servers)Administrator
/global unban <user_id>Remove from global blacklistAdministrator
/global check @userCheck if a user is globally blacklistedManage Messages
/global listShow the last 20 global bans with dates, reasons, categoriesManage Messages

Welcome & Verification

CommandArgumentsDescriptionPermission
/welcome setup <#channel>Set the welcome channelManage Guild
/welcome message <text>max 1500 charsCustomize message · Variables: {mention} {user} {guild} {count}Manage Guild
/welcome toggleEnable/disable welcome messagesManage Guild
/welcome testSimulate a welcome messageManage Guild
/welcome verify <#channel> [min_age]min_age: default 24hSend a persistent verification button to the channelManage Guild
/leave setup <#channel>Set the farewell channelManage Guild
/leave message <text>Variables: {user} {guild} {count}Customize farewell messageManage Guild
/leave toggleEnable/disable farewell messagesManage Guild

Tickets

CommandArgumentsDescriptionPermission
/ticket setup <#channel> [staff_role] [category]Send persistent “Open Ticket” panelManage Guild
/ticket closeClose current ticket and send transcript via DMTicket owner or Manage Channels

Reporting

CommandArgumentsDescriptionPermission
/report @user [reason] [link]Report a user for a scam DMTrust Score ≥ 20
/report-config channel <#channel>Set the report reception channelManage Guild
/report-config statsStatistics: total, confirmed bans, pendingManage Messages
Cooldown: 10 minutes per reporter. If link is malicious → automatic global ban. Otherwise → forwarded to staff channel (priority if ≥3 reports).

Backups

CommandArgumentsDescriptionPermission
/backup createCreate an AES-256 encrypted backup (PBKDF2 480k iterations)Administrator
/backup listList backups: size, creator, visibilityNone (own backups)
/backup restore <code|file>code GB-XXXX-YYYY or filenameRestore a backup — confirmation requiredAdministrator
/backup share <file>Generate a share code for other serversCreator or Administrator
/backup delete <file>Permanently delete a backupCreator or Administrator
/backup diff <older> <newer>Compare two backups: roles/channels added, removed, modifiedNone (own backups)
Backups contain structure only (channels, roles, permissions). Personal data (infractions, Trust Score, DMs) is not included.

Templates

CommandArgumentsDescriptionPermission
/template create <name> [description]name: 3–64 charsRegister server structure as a public templateAdministrator
/template list [page]default page 1Browse the shop (10 templates/page)None
/template load <id> [clean]clean: delete default Discord channelsLoad a template ⭐ PremiumManage Guild
/template info <id>Details: creator, server count, channels, roles, ratingsNone
/template delete <id>Disable a template from the shopCreator or Administrator

Permission Summary

GroupUser PermissionBot Permission
Ban / Kick / MuteBan / Kick / TimeoutSame
Warn / Clear / HistoryManage MessagesManage Messages
Config / SetupManage Guild / Administrator
Guardian (modes/modules)Manage Guild
Anti-Phishing whitelistManage Guild
Lockdown / Antiraid configManage Guild
PanicAdministrator
Global BanAdministrator
TicketsManage GuildManage Channels
ReportNone (Trust Score ≥ 20)
CertificateNone