Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 3.14 KB

filters.md

File metadata and controls

11 lines (7 loc) · 3.14 KB
description
The filters allow you to set exactly which messages are deleted.

🔎 Filters

You can decide from a selection of filters which filters the messages must meet in order to be deleted.

See also Filter Behavior.

Filter IDFilter NameExplanation
1Contains Emoji(s)Delete the message only if it contains emoji(s).
2Does not contain Emoji(s)Delete the message only if it does not contain emoji(s).
3Contains Link(s)Delete the message only if it contains link(s).
4Does not contain Link(s)Delete the message only if it does not contain link(s).
5Has Attachment(s)Delete the message only if it has attachments.
6Does not have Attachment(s)Delete the message only if it has no attachments.
7Is pinnedDelete the message only if it is pinned.
8Is not pinnedDelete the message only if it is not pinned.
11Author is BotDelete the message only if the author of the message is a bot.
12Author is not BotDelete the message only if the author of the message is not a bot.
13Has a ThreadDelete the message only if a thread was started with the message.
14Does not have a ThreadDelete the message only if no thread was started with the message.
15Was published

Delete the message only if it was published to subscribed channels (via Channel Following).

Only availabe in Announcement channels.

16Was not published

Delete the message only if it was not published to subscribed channels (via Channel Following).

Only availabe in Announcement channels.

17Is CrosspostDelete the message only if it is a published message from another server (via Channel Following).
18Is not CrosspostDelete the message only if it is not a published message from another server (via Channel Following).
19Is a ReplyDelete the message only if it is a Reply.
20Is not a ReplyDelete the message only if it is not a Reply.