Nightbot Blacklist (Regex)


#1

Hello,

I’m trying to use a simple regex to delete ascii art,

~/[\u2500-\u259F]/

… but this only seems to work if the message is less than 50 characters, anything longer and it is completely ignored.

This will get deleted,
░░░░░░░░▄▄▄▀▀▀▄▄███▄░░░░░░░░░░░░░░ ░░░░░▄▀▀░░░░░

This will be ignored,
░░░░░░░░▄▄▄▀▀▀▄▄███▄░░░░░░░░░░░░░░ ░░░░░▄▀▀░░░░░░█░░

:neutral_face:

actually, it seems the messages above 50 characters aren’t being sent, not sure what is blocking them :thinking:


#2

Are you sure your message is actually being sent and received by Nightbot? Twitch will sometimes drop messages completely without telling users they were dropped (antispam/abuse).


#3

Yeah that is what I was experiencing, seems the messages were not being sent. Automod is disabled and there is no other messages, so I’m not really sure what was going on there.

Regardless, when the messages did go through they were caught by Nightbot, so I don’t think it’s a Nightbot issue. Feel free to close this thread.

Thanks for your time!


#4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.