Security layers
Security features are independent controls. Configure only the layers you need and test their behavior before using aggressive automatic punishments.
Automod, join-risk, anti-raid, anti-nuke, or HoneyPot identifies the event.
SJW checks configuration, channel access, role hierarchy, and whether the target is exempt.
The configured action is applied and the event is logged when the bot can safely act.
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.
/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.
/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.
/security honeypot-set
Points the HoneyPot configuration at an existing text channel and sets a punishment.
/security honeypot-disable
Stops enforcement without deleting the trap channel or its configuration.
Punishment behavior
| Option | Behavior | Extra configuration |
|---|---|---|
| Ban | Regular Discord ban. | Ban Appeals can be enabled. |
| Hardban | Ban plus SJW's persistent hardban guard. | Ban Appeals can be enabled. |
| Softban | Ban with message deletion, then unban. | None. |
| Kick | Kick the triggering member. | None. |
| Timeout | Apply a Discord timeout. | Choose 1 minute to 28 days. |
| Give Role | Assign the configured role. | The role must be assignable by SJW. |
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.
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 action | Bot-side requirement | Common failure |
|---|---|---|
| Ban / Hardban / Softban | Ban Members and a target below the bot. | The target outranks SJW or the bot lacks ban permission. |
| Kick | Kick Members and a target below the bot. | The target outranks SJW. |
| Timeout | Moderate Members and a target SJW can moderate. | Target is above the bot or moderation permission is denied in context. |
| Give Role | Manage Roles and the selected role below SJW's highest role. | Role is managed by an integration or sits above the bot. |
Safe testing
- Create or edit the HoneyPot and confirm the configured channel is visible and members can send messages to it.
- Add a staff/testing role to the HoneyPot whitelist before you enter the trap channel yourself.
- Check
/security statusto confirm the stored punishment, timeout, role, and appeal state. - For an actual trigger test, use a disposable test account or member that you can safely remove, kick, timeout, or modify.
- Review the security log after the test and verify that the configured action, not an older configuration, was applied.
Something not working?
Check the permission and hierarchy troubleshooting steps before changing more settings.