You must have the Manage Channels and Manage Messages permissions.
Scheduling a purge
A channel can only have one scheduled purge at a time. Running purge add on a channel that already has one replaces the old settings.
Syntax
In command syntax, <> marks a required argument and [] marks an optional one. Don’t type the brackets themselves.
The interval must be longer than 1 hour and shorter than 1 month. See Durations for accepted syntax.
Examples
Flags
All flags are combined with AND, so a message must match every one to be removed. Add --or to remove messages matching any of them instead.
Content
Author
Text matching
Pass multiple terms by separating them with | or ,. For example, --contains leaked|leaking matches either word.
Behavior