I’ve been using Nightbot for a while now for spam protection in YouTube livestreams but it has been having some issues recently with missing things that it should be catching from the blacklist.
The spam filter in question that has been getting missed is this:
A lot of this is cyrillic variants of letters because the particular spam bot we’ve been having issues with has gotten clever and started using cyrillic letters that are identical to latin letters but use different unicode, such as В and B (first is cyrillic, second is latin).
Also should note that these spam bots put the spam link in their name and only send emojis in the chat. So we’re relying on the blacklist checking names as well.
A bot that slipped by today had the following as their name which didn’t even contain any cyrillic letters yet was still missed: “BESTCAMS. FUN” followed by a bunch of other stuff that did contain cyrillic but shouldn’t have mattered since the bestcams part should have been flagged and timed out. I’ve double and triple checked my regex using regex101 and it does correctly flag these bot names.
Am I missing something? Is there an issue with how I formatted the regex for Nightbot? Or is it possible that Nightbot is having issues with its spam filter on YouTube? I’m pretty stumped at this point but this is the best bot I’ve found for YouTube streams so I really really want to figure out what is going on so I can get it fixed up and working again. It worked great for a long time before the current issues so I’m really at a loss as to what is going wrong.
From some testing it seems this wouldn’t catch many variations of that which is most likely what happened though I’m not certain. You should still do what is said above.
However I believe this regex should be more versatile to your needs.
I appreciate the reply but don’t think that was the issue in this case. I copy pasted the exact username to check against my regex and it does flag it correctly. I’m fairly new to regex though and didn’t know that ? can be used instead of {0,1} so I’ll definitely be using that to streamline things more.
Apologies for the delay. I have located the chat lines and believe this should be fixed now. There was an issue specific with custom regexes when filtering on display names.