Just to give you more background on what the script is doing.
- It’s initiated from a Streamdeck button press and operate in batch mode
- It takes all of the pre-configured overlays in OBS and swap their URLs for invalid ones to disable the flood of follow alerts that the bots create and queue up
- It logs into Twitch chat as the streamer and enables either Subscriber only or Follower only mode, depending on the user’s preferences
- As optional actions when logged into chat, it can enable Emote only mode, play an Advert and clear chat.
- It then logs out of twitch chat and exits the script
The configuration options are meant to allow the user to have their chat as free as they like in normal operation, but should a hate raid occur, they can quickly enable the features they prefer to keep their chat safe.
Because this is a reactionary tool, there’s the chance that hateful messages could slip through as the user processes what is happening. /clear provides a quick method to get rid of those messages that slip through the cracks, even if it is a “nuke from orbit” option.
Working in batch mode like this means that there is no history of users to be able to determine who are the new bot users to time out, and I don’t want to time out all the users if I can help it.