Documentation / Security

Security controls that are understandable before they are enabled.

Use this page for HoneyPot setup and for the security checks that matter when a server needs automated enforcement.

HoneyPotCreate → Edit → Test/security honeypot-edit

Security layers

Security features are independent controls. Configure only the layers you need and test their behavior before using aggressive automatic punishments.

01Detect

Automod, join-risk, anti-raid, anti-nuke, or HoneyPot identifies the event.

02Check

SJW checks configuration, channel access, role hierarchy, and whether the target is exempt.

03Act

The configured action is applied and the event is logged when the bot can safely act.

04Review

Use security status, logs, analytics, and the existing appeal flow where applicable.

Join Gate and raid protection

Use the dashboard's Join Gate quick control to enable or disable account screening. Under Moderation, configure what to check (minimum account age, missing avatar, unverified bots, or invite-link usernames) and choose an action. Enabling the toggle alone does not kick anyone: the defaults are no minimum age and no punishment.

Join screening runs directly when Discord reports a member joining, independently of invite attribution. Raid detection is a separate setting; configure its join threshold, time window, and action if you also want to respond to bursts of joins. Kick and Ban require the matching bot permission and a role hierarchy that permits the action.

HoneyPot

A HoneyPot is a visible channel designed to catch bots and compromised accounts. SJW watches the configured channel, deletes incoming messages from non-whitelisted members, and applies the selected punishment.

Create a new trap

/security honeypot-create

Creates the HoneyPot channel and lets you choose the punishment. For Timeout and Give Role, SJW asks for the extra value in a follow-up selector.

Edit the existing trap

/security honeypot-edit

Changes the existing HoneyPot without creating another channel. The current setup message is updated when it can be found; otherwise SJW posts a fresh setup notice.

Use an existing channel

/security honeypot-set

Points the HoneyPot configuration at an existing text channel and sets a punishment.

Disable enforcement

/security honeypot-disable

Stops enforcement without deleting the trap channel or its configuration.

Punishment behavior

OptionBehaviorExtra configuration
BanRegular Discord ban.Ban Appeals can be enabled.
HardbanBan plus SJW's persistent hardban guard.Ban Appeals can be enabled.
SoftbanBan with message deletion, then unban.None.
KickKick the triggering member.None.
TimeoutApply a Discord timeout.Choose 1 minute to 28 days.
Give RoleAssign the configured role.The role must be assignable by SJW.
Important

Whitelist roles before testing.

Any configured HoneyPot whitelist role bypasses the trap. This gives staff a safe way to access or test the channel without triggering enforcement.

Ban Appeals

Ban Appeals are available only when the HoneyPot punishment is Ban or Hardban. After creation or editing, use the appeal controls to enable the existing SJW Ban Appeal review flow, set the appeal window, and write the instructions shown to the affected user.

Appeal window

1–30 days

The default is 7 days. The configuring moderator is stored as the fallback reviewer, and the user receives an appeal prompt when the bot can deliver the DM.

Permissions and hierarchy

The person configuring the system needs access to use the command or dashboard. SJW separately needs the Discord permission and role hierarchy required to execute the action.

HoneyPot actionBot-side requirementCommon failure
Ban / Hardban / SoftbanBan Members and a target below the bot.The target outranks SJW or the bot lacks ban permission.
KickKick Members and a target below the bot.The target outranks SJW.
TimeoutModerate Members and a target SJW can moderate.Target is above the bot or moderation permission is denied in context.
Give RoleManage Roles and the selected role below SJW's highest role.Role is managed by an integration or sits above the bot.

Safe testing

  1. Create or edit the HoneyPot and confirm the configured channel is visible and members can send messages to it.
  2. Add a staff/testing role to the HoneyPot whitelist before you enter the trap channel yourself.
  3. Check /security status to confirm the stored punishment, timeout, role, and appeal state.
  4. For an actual trigger test, use a disposable test account or member that you can safely remove, kick, timeout, or modify.
  5. Review the security log after the test and verify that the configured action, not an older configuration, was applied.
Related

Something not working?

Check the permission and hierarchy troubleshooting steps before changing more settings.

Troubleshooting