Check Filtered Text to see if its hashtagged

So as you know you can filter text. I want to see though if any part of the text is filtered so I can reject the text to the user and say “This text is invalid”. How can I do this?

1 Like

You can have a line like this to determine if the text contains a ‘#’.

if text:match("#") then text = "Text filtered." end

The ‘Chatted’ event/signal receives the chatted message in its unfiltered form.