Skip to content
← All commands

/security

Security

Antinuke: setup, protections, trust, lockdown and snapshots

Advanced antinuke controls (thresholds, scopes, lockdown, snapshots). New here? Use `/antinuke enable` instead. Antinuke is free for every server. `/security setup` also works — it starts in test mode so you can review decisions before Miwi acts. Administrator permission is not trust; add trusted users, roles and bots explicitly.

/security setup

Set up antinuke (safe to re-run)

  • log_channel channelrequired — Where security events are posted
  • punishment string — Default punishment
  • test_mode boolean — Log decisions without acting (recommended for the first day)
  • alert_role role — Role pinged when an action is taken

/security status

Show antinuke status

No options.

/security toggle

Enable or disable antinuke

  • enabled booleanrequired — Enabled?

/security test-mode

Log decisions without taking action

  • enabled booleanrequired — Test mode on?

/security protection

Tune a protection group

  • group stringrequired — Protection group
  • enabled boolean — Enable this group
  • threshold integer — Actions allowed before acting
  • window integer — Window in seconds
  • punishment string — Punishment for this group
  • revert boolean — Revert damage when acting

/security trust add

Whitelist a user, bot or role

  • target mentionablerequired — User, bot or role
  • scope string — What they may do without triggering antinuke (default: everything)
  • level string — Trusted, or extra owner (owner only; full control of security)
  • duration string — Temporary, e.g. 2h, 7d (default: permanent)
  • protected boolean — Only the owner/extra owners can moderate them
  • automod_bypass boolean — Skip AutoMod filters (default: yes)
  • note string — Why?

/security trust remove

Remove from the whitelist

  • target mentionablerequired — User, bot or role

/security trust list

Show the whitelist

No options.

/security logs

Recent security events

No options.

/security lockdown start

Lock channels for @everyone

  • reason stringrequired — Reason

/security lockdown end

Release the lockdown

No options.

/security lockdown status

Lockdown status

No options.

/security snapshot create

Take a snapshot now

No options.

/security snapshot list

List snapshots

No options.

/security snapshot diff

Compare a snapshot with the current server

  • id stringrequired — Snapshot

/security snapshot restore

Recreate one missing role or channel from a snapshot

  • id stringrequired — Snapshot
  • item stringrequired — Missing role/channel
/security command · Miwi