Skip to content

I've forgot my old mentions filter #4380

Closed Answered by Felanbird
Born2Raf asked this question in Q&A
Discussion options

You must be logged in to vote

You'd likely want a filter like this, for mentions only from specific channels

(channel.name == "streamerName" && message.content contains "myUsername")

In this example, I'm using channel.name == "pajlada" && message.content contains "felanbird" and the 💎pir highlight only appears in the non filtered tab

If you'd like to expand this to multiple channels, you can utilize || which means OR - while && means AND.
The brackets I've outlined are required for this one:

((channel.name == "streamerOne" || channel.name == "streamerTwo" || channel.name == "streamerThree") && message.content contains "myUsername")

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Born2Raf
Comment options

@Felanbird
Comment options

@Born2Raf
Comment options

@Felanbird
Comment options

@Born2Raf
Comment options

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