bleh
Add to Discord
HomeFeaturesCommandsServersDocsConfigStatus Add to Discord
Security command

,filter

Switch each message filter on, set its threshold and choose the punishment.

Everyone can use it
Category
40 commands in it
Cooldown
4s
per member, per server
Aliases
3
automoderator, automodfilter, flt
Subcommands
15
each with its own page

How to use it

Type it in any channel where the bot can read messages. The prefix is , on this server and can be changed with ,prefixes.

Syntax ,filter <channel> <role> <amount>
Examples
,filter spam enable,filter spam threshold 5,filter word add badword,filter links exempt @Staff,filter status

Arguments

Square brackets are optional, angle brackets are required — the same legend ,help filter prints in Discord.

ParameterKindWhat it takes
channelrequireda channel mention, name or id
rolerequireda role mention, name or id
amountrequireda number

Before you run it

What the command itself checks before it does anything, read from the src/commands/security/filter.js source.

Permissions
Manage Server
Reads
role, channel mentions
Replies with
a plain message, paginated when it runs long
Cooldown
4s per member, per server

Every subcommand

Call the command with no argument inside Discord and the bot draws one page per subcommand, exactly like this.

SubcommandWhat it does
,filter setupturn the usual modules on with sane defaults
,filter panelpost the filter panel with a button per module
,filter statusshow every module and whether it is on
,filter listevery filtered word, link, invite and emoji limit
,filter spam
<enable|disable|threshold|exempt|unexempt>
catch repeated messages
,filter word
<add|remove|list|enable|disable> [word]
filter words you choose
,filter mentions
<enable|disable|threshold|exempt|unexempt>
cap how many members one message may ping
,filter walloftext
<enable|disable|threshold|exempt|unexempt>
catch very long messages
,filter links
<enable|disable|threshold|exempt|unexempt>
catch links
,filter invites
<enable|disable|threshold|exempt|unexempt>
catch Discord invites
,filter emoji
<enable|disable|threshold>
cap how many emoji one message may hold
,filter exempt
<@role|#channel>
spare a role or channel from every module
,filter unexempt
<@role|#channel>
put them back under the filters
,filter punishment
<none|delete|warn|timeout|kick|ban>
what happens when a filter trips
,filter logs
<#channel>
send detections to a channel

In Discord

What a member sees when they run it. The reply is sent as a Components V2 panel on the server's accent colour, paginated when it is long.

M Memberjust now ,filter spam enable
B blehAppjust now Switch each message filter on, set its threshold and choose the punishment. 15 subcommands to pick from.

Ready to put bleh in your server?

Add it in a couple of clicks, run ,setup, then fine-tune everything from the dashboard.