Skip to content

Add filter supports for the reply function #5449

Answered by Mm2PL
Trizze asked this question in Ideas
Discussion options

You must be logged in to vote

The message.content variable only has the messages content, not the reply context. We should expose the reply thread content to the filters instead of adding that to message.content.

You can do an ignore on the word #spoiler.

Pattern Regex Case-sensitive Block Replacement
.*#spoiler.* Yes No No #spoiler

This presents the message as #spoiler in replies. Nuking the message will show it in the replies, do not do that.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Trizze
Comment options

Answer selected by Trizze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants