,trap
trap channel that auto-punishes spam bots
,trap counter <on/off/reset/set> [count]/trap <subcommand>,trap counter set 42<required> · [optional]
- Permission
- Manage Guild
- Cooldown
- None
- Right-click menu
- None
- Related guide
- Trap channel
Forms
setup [channel] - designate a channel (or auto-create #trap)action <softban/ban/kick/timeout/mute/jail> [duration] - sets the punishmentescalation <on/off> [action] - harsher action for repeat offendersdm <on/off> - DM users when caughtdm invite <on/off> - include a rejoin invite in softban/kick DMsdm embed <code/check/reset> - custom catch DM (custommessage code; {user}, {action}, {trap.channel})counter <on/off/reset/set> [count] - show/hide the warning embed (off = silent trap), or fix its catch countembed <view/set/remove/resend> [code] - custom counter embed ({trap.counter}, {trap.action}, {trap.escalation}, {trap.channel})channels <add/remove/list> [#channel] - extra trap channels (each gets its own counter)randomize <on/off> [hours] - periodically rename trap channels (default every 24h)joingate <on/off> [days] - fresh accounts get the escalation action on first catchwhitelist <add/remove/list> [@role/@user] - immune roles/userssettings - shows the configstats - catch statistics (actions, unique users, top days)disable - removes the trapSubcommands
Prefix subcommands13 subcommands, A to Z
,<add/remove/list> [#channel]manage additional trap channels (each gets its own counter embed)
,<on/off/reset/set> [count]toggles the warning embed and manages the catch count
,trap counter set 42
,<on/off> | invite <on/off> | embed <code/check/reset>toggles DMing caught users
,trap dm embed {description: {user} you got {action} in {guild.name}}$p,<view/set/remove/resend> [code]customizes the trap counter embed
,trap embed set {title: keep out}$p{field: Caught && **{trap.counter}** && inline},<on/off> [days]fresh accounts (young account or recent join) caught in the trap get the escalation action immediately
,<on/off> [hours]periodically renames trap channels to innocuous names so bots can't blocklist them (needs Manage Channels)
,trap statstrap catch statistics (actions, unique users, repeat rate, top days)
No usage recorded
Slash commands 23 leaves, grouped the way Discord groups /trap
<required> · [optional]. Parameters come from Discord’s own registered commands; a blank default means the bot states none.
Two trees, not one view of one
/trap, top level9 leaves
/trap setupDesignate a trap channel, or auto-create #trap
/trap setupchannel| Parameter | Type | Default | Detail |
|---|---|---|---|
channel | Channel | — | Existing channel to use (omit to auto-create)(text channels) |
/trap actionSet the punishment for caught users
/trap actionaction (required)duration| Parameter | Type | Default | Detail |
|---|---|---|---|
actionrequired | String | — | Punishmentsoftban (ban + unban, purges messages) · ban · kick · timeout · mute · jail |
duration | String | — | Timeout duration, e.g. 1h (timeout action only) |
/trap escalationUse a harsher action for repeat offenders
/trap escalationstate (required)action| Parameter | Type | Default | Detail |
|---|---|---|---|
staterequired | String | — | on or offon · off |
action | String | ban | Escalation punishmentsoftban (ban + unban, purges messages) · ban · kick · timeout · mute · jail |
/trap dmToggle DMing users when they get caught
/trap dmstateinviteembed| Parameter | Type | Default | Detail |
|---|---|---|---|
state | String | — | DM on catch: on or offon · off |
invite | String | — | Rejoin invite in softban/kick DMs: on or offon · off |
embed | String | — | Custom catch DM embed: set (opens an editor), check, or resetset · check · reset |
/trap randomizePeriodically rename trap channels to innocuous names
/trap randomizestate (required)hours| Parameter | Type | Default | Detail |
|---|---|---|---|
staterequired | String | — | on or offon · off |
hours | Integer | 24 | Rotation interval in hours(1–168) |
/trap joingateFresh accounts get the escalation action on first catch
/trap joingatestate (required)days| Parameter | Type | Default | Detail |
|---|---|---|---|
staterequired | String | — | on or offon · off |
days | Integer | 7 | Freshness threshold in days(1–90) |
/trap counter4 leaves
/trap counter setSet the catch count to a specific number
/trap counter setcount (required)| Parameter | Type | Default | Detail |
|---|---|---|---|
countrequired | Integer | — | New catch count(min 0) |
/trap channels3 leaves
/trap channels addAdd a trap channel
/trap channels addchannel (required)| Parameter | Type | Default | Detail |
|---|---|---|---|
channelrequired | Channel | — | Channel to trap(text channels) |
/trap channels removeRemove a trap channel (not the primary)
/trap channels removechannel (required)| Parameter | Type | Default | Detail |
|---|---|---|---|
channelrequired | Channel | — | Channel to remove(text channels) |
/trap embed4 leaves
/trap whitelist3 leaves
/trap whitelist addWhitelist a role or user
/trap whitelist addroleuser| Parameter | Type | Default | Detail |
|---|---|---|---|
role | Role | — | Role to whitelist |
user | User | — | User to whitelist |
/trap whitelist removeRemove a role or user from the whitelist
/trap whitelist removeroleuser| Parameter | Type | Default | Detail |
|---|---|---|---|
role | Role | — | Role to remove |
user | User | — | User to remove |