Skip to main content

,trap

Also ,trapchannel, ,honeypotSlash /trap#trap

trap channel that auto-punishes spam bots

Syntax,trap counter <on/off/reset/set> [count]
Slash/trap <subcommand>
Example,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 trap

Subcommands

Prefix subcommands13 subcommands, A to Z
,<softban/ban/kick/timeout/mute/jail> [duration]

sets the trap punishment

,<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
,trap disable

removes the trap

No usage recorded

aka remove, off#trap-disable
,<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> [action]

harsher punishment for repeat trap offenders

,<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)

aka rotation#trap-randomize
,trap settings

shows the trap config

No usage recorded

aka status, config#trap-settings
,[channel]

designates or creates the trap channel

,trap stats

trap catch statistics (actions, unique users, repeat rate, top days)

No usage recorded

,<add/remove/list> [@role/@user]

manages trap immunity

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

This command registers 23 leaves on the slash surface against 13 subcommands in its prefix tree. Both lists are on this page in full; neither is a summary of the other.
/trap, top level9 leaves
/trap setup

Designate a trap channel, or auto-create #trap

/trap setupchannel
ParameterTypeDefaultDetail
channelChannel—Existing channel to use (omit to auto-create)(text channels)
#trap-setup
/trap action

Set the punishment for caught users

/trap actionaction (required)duration
ParameterTypeDefaultDetail
actionrequiredString—Punishmentsoftban (ban + unban, purges messages) · ban · kick · timeout · mute · jail
durationString—Timeout duration, e.g. 1h (timeout action only)
#trap-action
/trap escalation

Use a harsher action for repeat offenders

/trap escalationstate (required)action
ParameterTypeDefaultDetail
staterequiredString—on or offon · off
actionStringbanEscalation punishmentsoftban (ban + unban, purges messages) · ban · kick · timeout · mute · jail
#trap-escalation
/trap dm

Toggle DMing users when they get caught

/trap dmstateinviteembed
ParameterTypeDefaultDetail
stateString—DM on catch: on or offon · off
inviteString—Rejoin invite in softban/kick DMs: on or offon · off
embedString—Custom catch DM embed: set (opens an editor), check, or resetset · check · reset
#trap-dm
/trap randomize

Periodically rename trap channels to innocuous names

/trap randomizestate (required)hours
ParameterTypeDefaultDetail
staterequiredString—on or offon · off
hoursInteger24Rotation interval in hours(1–168)
#trap-randomize
/trap joingate

Fresh accounts get the escalation action on first catch

/trap joingatestate (required)days
ParameterTypeDefaultDetail
staterequiredString—on or offon · off
daysInteger7Freshness threshold in days(1–90)
#trap-joingate
/trap settings

Show the trap config

#trap-settings
/trap stats

Trap catch statistics

#trap-stats
/trap disable

Remove the trap

#trap-disable
/trap counter4 leaves
/trap counter on

Show the warning embed in every trap channel

#trap-counter-on
/trap counter off

Hide the warning embed (a silent trap)

#trap-counter-off
/trap counter reset

Reset the catch count to 0

#trap-counter-reset
/trap counter set

Set the catch count to a specific number

/trap counter setcount (required)
ParameterTypeDefaultDetail
countrequiredInteger—New catch count(min 0)
#trap-counter-set
/trap channels3 leaves
/trap channels add

Add a trap channel

/trap channels addchannel (required)
ParameterTypeDefaultDetail
channelrequiredChannel—Channel to trap(text channels)
#trap-channels-add
/trap channels remove

Remove a trap channel (not the primary)

/trap channels removechannel (required)
ParameterTypeDefaultDetail
channelrequiredChannel—Channel to remove(text channels)
#trap-channels-remove
/trap channels list

List the trap channels

#trap-channels-list
/trap embed4 leaves
/trap embed view

Show the counter embed code (the default, if none is set)

#trap-embed-view
/trap embed set

Set a custom counter embed (opens an editor)

#trap-embed-set
/trap embed remove

Restore the default counter embed

#trap-embed-remove
/trap embed resend

Post a fresh counter message and track that one instead

#trap-embed-resend
/trap whitelist3 leaves
/trap whitelist add

Whitelist a role or user

/trap whitelist addroleuser
ParameterTypeDefaultDetail
roleRole—Role to whitelist
userUser—User to whitelist
#trap-whitelist-add
/trap whitelist remove

Remove a role or user from the whitelist

/trap whitelist removeroleuser
ParameterTypeDefaultDetail
roleRole—Role to remove
userUser—User to remove
#trap-whitelist-remove
/trap whitelist list

Show the whitelist

#trap-whitelist-list