bleh
Add to Discord
HomeFeaturesCommandsServersDocsConfigStatus Add to Discord
Security command

,autopurge

Auto-delete messages on a schedule.

Everyone can use it
Category
40 commands in it
Cooldown
4s
per member, per server
Aliases
2
ap, apurge
Subcommands
16
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 ,autopurge <channel> <amount> <member>
Examples
,autopurge lock,autopurge interval 300,autopurge type images,autopurge enable,autopurge status

Arguments

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

ParameterKindWhat it takes
channelrequireda channel mention, name or id
amountrequireda number
memberrequireda member mention, id or username

Before you run it

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

Permissions
Manage Channels
Reads
member, 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
,autopurge enablestart sweeping on the schedule
,autopurge disablestop sweeping
,autopurge pausehold the schedule without losing it
,autopurge resumecarry on where the pause left off
,autopurge statusshow every autopurge setting
,autopurge listevery channel being swept
,autopurge interval
<10-86400>
how old a message must be to go
,autopurge limit
<1-100>
how many messages one pass may delete
,autopurge type
<all|bots|humans|attachments|images>
which kinds of message get swept
,autopurge lock
[#channel]
add a channel to the sweep
,autopurge unlock
[#channel]
take a channel out of the sweep
,autopurge whitelist
<add|remove|list> [@user]
never sweep one member's messages
,autopurge blacklist
<add|remove|list> [@user]
always sweep one member's messages
,autopurge historythe last ten sweeps
,autopurge notifyturn the in-channel notice on or off
,autopurge logchannel
<#channel>
send sweep logs 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 ,autopurge lock
B blehAppjust now Auto-delete messages on a schedule. 16 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.