NightDev Community Forums

How to timeout non English sentences?

Hey, My friend and I are getting into streaming, We are both from the UK and we have had various amount’s of people come in and chat in non English sentences. We have no idea what they are saying or what it means as we are from the UK, is there anyway we can add a command to Nightbot that will remove/timeout Non English sentences, Thanks :smiley:

Hey @twistcd!

Unfortunately we can’t detect the language of a message, however, if these are non-latin characters, you can filter them out using the Blacklist filter with RegEx, put this on a line of the filter:
[^\x00-\x7F]+