BenDMyers / showmy.chat

On-demand themed Twitch chat overlay generator

Home Page:https://showmy.chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configuration for not showing messages from certain users

BenDMyers opened this issue · comments

Need

Some streamers may have a list of accounts whose messages they would rather not have show up in the overlay. Known bot accounts such as Nightbot or Streamlabs, which can post repetitive messages frequently, could be prime examples of accounts a streamer might want to hide from their overlays.

Suggested API

  • Configuration should be strictly optional. If query parameter is not provided, messages from all accounts are shown.
    • In homepage URL builder, if user does not provide any users to hide, don't add the query parameter to the built URL at all
  • Query parameter could be called something like hideMessagesFrom (open to alternatives, but this one seems really clear to me!)
  • Query parameter value could be a comma-separated list of case-insensitive account names, like streamlabs,Nightbot
  • Messages from these accounts should never be added to the DOM (this is as opposed to hiding the messages with CSS or something like that). This keeps the number of DOM elements lower, and provides the best flexibility within a theme (theme creators don't have to worry about hidden messages messing with anything like :nth-child)