GrizzDocs

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.

  1. In the dashboard, open Messages and make sure it's on.
  2. Open the Auto Delete tab and turn on Enable Auto Delete, then click Save Changes.
  3. Under Configured Channels, click Add Channel and pick a Channel.
  4. 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.
  5. 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.
  6. 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.
OptionRequiredDescription
actionYesSetup, Disable, List or Info.
channelNoThe channel. Needed for Setup, Disable and Info.
timeNoDelete messages this many seconds after they're posted. Set to 0 to delete them right away.
modeNoWhich 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 /autodelete and no time, every new message there is deleted right away. For a channel that's already set up, leaving time empty 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.