I am a moderator in one of the youtube streams and wanted to introduce a troll mode where only emotes are allowed. To prevent meta etc. So basically the idea is during this time, timeout all messages except the ones which only contains emojis list.
Example emojis list
How do I set the blacklist filter regex as “Everything” but this unicode list.
Hey Emily!! Thanks for replying. Really appreciate you for the help.
I did try recreating it a little here
For example not emote1 or emote2
^((?!emote1|emote2).)*$
But it doesn’t work. I read it on one of the older posts here that this type of regex is a negative lookahead regex which is not supported in nightbot.
So is there any way. To say do
It’s true that we’ve had some issues with matching emotes, but from our tests we didn’t try using curly brackets {}, so maybe that’s the solution, I’d say give it a try and see.
Don’t worry, you’re not a bother, I expected this topic to be difficult to solve.
I now remember we had a similar issue recently, this might be the same thing, but first, do you put your RegExp between slashes? /RegExp/, so with the bit of code you put above: /[^((?!emote1|emote2).)*$]/
If it still doesn’t work, try with a tilde (~) before it: ~/RegExp/, ~/[^((?!emote1|emote2).)*$]/
Also, I didn’t specify it because I felt it was obvious, but just in case, to test if the RegExp is efficient, you need to test it with an account that’s not the streamer or a moderator.