Skip to main content

,filter

Slash /filter#filter

Filters words, links, emotes, etc

Syntax,filter <invites|links|words|mp3|mentions> on <channel|all> [++punish <punishment>]
Slash/filter <subcommand>
Example,filter links on all ++punish ban

<required> · [optional]

Permission
Manage Messages
Cooldown
None
Right-click menu
None
Related guide
Message filters

Forms

invites [on|off] [channel|all]links [on|off] [channel|all]mp3 [on|off] [channel|all]mentions [on|off] [channel|all] [++threshold <num>]words [on|off] [channel|all]add <word> [punishment] [++exact]remove <word>cleartypeslisttest <text> [@member]whitelist <add|remove|scope|list|clear|on|off> [user|role|staff] [kind ...]

Subcommands

Prefix subcommands13 subcommands, A to Z
,filter add <word> [punishment] [++exact]

filters out words

,filter add loser ban ++exact
,filter clear

clear filtered list

aka c, reset#filter-clear
,filter invites on <channel/all> [++punish <punishment>]

filters out invites

,filter invites on aall ++punish ban
aka invites#filter-invite
,filter list

list all filtered words

,filter mention on <channel/all> [++punish <punishment>] [++threshold <number>]

filters out mass mentions in a channel

,filter mention on all ++punish ban ++threshold 7
aka massmention, mentions#filter-mention
,filter mp3 on <channel/all> [++punish <punishment>]

filters out all music files in a channel

,filter mp3 on all ++punish ban
aka musicfiles, musicfile, mp3s#filter-mp3
,filter panel

opens the interactive filter management panel

,filter panel
,filter remove <word>

removes word from filter

,filter remove loser
,filter test <text> [@member]

Simulates the filters against text — deletes and punishes nothing

,filter test youre a loser @Nick
,filter type

list all types of filters

aka types, t#filter-type
,filter whitelist <add|remove|scope|list|clear|on|off> <user|role|staff> [kind ...]

exempts a user, a role, or staff, from some or all message filters

,filter whitelist add @Staff links,invites
aka wl, exempt#filter-whitelist
,filter words on <channel/all> [++punish <punishment>]

filters out words/sentences in a channel

,filter words on all ++punish ban
aka words#filter-word

Slash commands 19 leaves, grouped the way Discord groups /filter

<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 19 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.
/filter, top level12 leaves
/filter panel

Open the interactive filter management panel

#filter-panel
/filter add

Add a word to the filter

/filter addword (required)punishmentexact
ParameterTypeDefaultDetail
wordrequiredString—Word to filter
punishmentString—Punishmentban · mute · jail · warn · stripstaff · kick
exactBoolean—Whole-word match only, not a substring (e.g. "ass" no longer catches "class")
#filter-add
/filter remove

Remove a word from the filter

/filter removeword (required)
ParameterTypeDefaultDetail
wordrequiredString—Word to remove
#filter-remove
/filter clear

Clear all filtered words

#filter-clear
/filter list

List all filtered words

#filter-list
/filter type

List filter types enabled

#filter-type
/filter test

Simulate the filters against text — deletes and punishes nothing

/filter testtext (required)member
ParameterTypeDefaultDetail
textrequiredString—Text to test
memberUser—Simulate as this member instead of yourself
#filter-test
/filter invites

Toggle invite filter

/filter invitesmode (required)channel (required)punishment
ParameterTypeDefaultDetail
moderequiredString—on/offon · off
channelrequiredString—Channel ID or "all"
punishmentString—Punishmentban · mute · jail · warn · stripstaff · kick
#filter-invites
/filter mp3

Toggle mp3/music file filter

/filter mp3mode (required)channel (required)punishment
ParameterTypeDefaultDetail
moderequiredString—on/offon · off
channelrequiredString—Channel ID or "all"
punishmentString—Punishmentban · mute · jail · warn · stripstaff · kick
#filter-mp3
/filter mention

Toggle mass-mention filter

/filter mentionmode (required)channel (required)punishmentthreshold
ParameterTypeDefaultDetail
moderequiredString—on/offon · off
channelrequiredString—Channel ID or "all"
punishmentString—Punishmentban · mute · jail · warn · stripstaff · kick
thresholdInteger—Mention threshold
#filter-mention
/filter words

Toggle word filter

/filter wordsmode (required)channel (required)punishment
ParameterTypeDefaultDetail
moderequiredString—on/offon · off
channelrequiredString—Channel ID or "all"
punishmentString—Punishmentban · mute · jail · warn · stripstaff · kick
#filter-words
/filter whitelist7 leaves
/filter whitelist add

Exempt a user, a role, or staff, from filters — give exactly one

/filter whitelist adduserrolestafffilters
ParameterTypeDefaultDetail
userUser—User to exempt
roleRole—Role to exempt
staffBoolean—Exempt everyone holding a staff role (,staff add)
filtersString—Filter kinds to exempt, blank for every filterautocompletes as you type: no fixed list
#filter-whitelist-add
/filter whitelist remove

Remove a user, role, or staff, from the whitelist

/filter whitelist removetarget (required)
ParameterTypeDefaultDetail
targetrequiredString—User, role, or staff, to removeautocompletes as you type: no fixed list
#filter-whitelist-remove
/filter whitelist scope

Change which filters an existing entry bypasses — give exactly one target

/filter whitelist scopeuserrolestafffilters
ParameterTypeDefaultDetail
userUser—User to rescope
roleRole—Role to rescope
staffBoolean—Rescope the staff entry
filtersString—Filter kinds to bypass, blank for every filterautocompletes as you type: no fixed list
#filter-whitelist-scope
/filter whitelist list

List the whitelist

#filter-whitelist-list
/filter whitelist clear

Clear the whitelist

#filter-whitelist-clear
/filter whitelist on

Turn the whitelist back on

#filter-whitelist-on
/filter whitelist off

Suspend the whitelist — every entry stops being honoured

#filter-whitelist-off