[Feature Request] Hide selected chat messages in Dashboard
Describe the solution you'd like
What: I would like the ability to hide chat messages matching certain patterns from the chat feed in the Firebot dashboard. This will allow me to finally use Firebot's chat/dashboard to replace Chatterino during my streams.
Why: Among other reasons, I have a trivia challenge that runs in my chat (custom, not the built-in game). Every 15 minutes it asks a multiple-choice question, and everybody in chat answers A, B, C, or D. When lots of people are answering the question, the chat gets really noisy. I would like to hide these messages from my own view so I can focus on real comments, but users got confused when I had Firebot delete their trivia answers. Unfortunately there is not currently a filter function in Firebot's dashboard to exclude /^[a-dA-D]$/ (or whatever).
How: My implementation is a new "Chat Feed Message Hidden" effect that can be added to either the Chat Message event or commands. This gets the message ID from the event or trigger and sets a new isHiddenFromChatFeed property on that message. The updated dashboard code uses ng-if="$ctrl.message.isHiddenFromChatFeed !== true" in the chat-message-wrapper div to hide those messages. (Note that sometimes the message is visible for a moment before being hidden, but the message is indeed hidden immediately.)
Additional context
I have already written working code for this for my own use.
I am asking the devs if this is something you would like to incorporate for everyone. I think this is useful, although I could certainly understand if you are concerned about a constant stream of questions from people who don't read but immediately ask why messages aren't being hidden in their Twitch chat...
This is an interesting idea and I do think some folks could get use out of it! I only thing I would ask is that the name of the effect be tweaked to: "Hide Message In Chat Feed"
Released in v5.65.0