jaw-sh / stream-nexus

Unified multicast stream chat overlay.
25 stars 8 forks source link

Add basic spam filter #15

Closed y-a-t-s closed 8 months ago

y-a-t-s commented 8 months ago

This is a very basic filter that mitigates the emote spam by looking for contiguous duplicate messages. It compares the username and message body with that of the previous message and skips handling it if they match.

jaw-sh commented 8 months ago

Sorry, I'm going to close this because I do want that data stored on the backend. I am writing a frontend script to handle duplicate emojis in a way consistent with what I've seen with Destiny streams. Basically, when people spam pogchamp, it counts the combo on-screen as one line like "pogchamp x20".

I have an idea to do this that's going to be a bit more aggressive, since Twitch's culture seems to be mindless spam and thoughtless dribble.

y-a-t-s commented 8 months ago

That makes sense; no worries. I could never stand Twitch for this very reason.