Auto-delete
Keep channels tidy by having Grizz delete new messages for you, either after a set time or once a channel has more than a set number of messages.
Set it up
Auto-delete is part of the Messages module.
- In the dashboard, open Messages and make sure it's on.
- Open the Auto Delete tab and turn on Enable Auto Delete, then click Save Changes.
- Under Configured Channels, click Add Channel and pick a Channel.
- Choose when messages go:
- Delete After (seconds): delete each message this many seconds after it's posted.
- Keep Last # Messages: keep only this many recent messages and delete older ones as new ones arrive.
- Leave both empty to delete messages as soon as they're posted.
- Optional: narrow it down to messages Only with Attachments, Only with Links, Only with Mentions or Only with Emojis. If you turn on more than one, a message has to match all of them.
- Click Create.
To change a channel later, click its edit button, make your changes and click Update.
Commands
/autodelete
Set up, turn off or check auto-delete for a channel. Pick what to do with action:
- Setup turns on auto-delete for a channel, or updates it if it's already set up.
- Disable turns it off for a channel.
- List shows every channel with auto-delete.
- Info shows the settings for one channel.
| Option | Required | Description |
|---|---|---|
action | Yes | Setup, Disable, List or Info. |
channel | No | The channel. Needed for Setup, Disable and Info. |
time | No | Delete messages this many seconds after they're posted. Set to 0 to delete them right away. |
mode | No | Which messages to delete: All messages, Bot messages only or Human messages only. |
Who can use it: members with Manage Messages.
Good to know
- Auto-delete only affects new messages. Messages already in the channel are left alone.
- If you set up a new channel with
/autodeleteand notime, every new message there is deleted right away. For a channel that's already set up, leavingtimeempty keeps its current setting. - You can use auto-delete in up to 5 channels on Free, or 50 on Pro.
Permissions Grizz needs
- Manage Messages and Read Message History in each auto-delete channel.