Firebot icon indicating copy to clipboard operation
Firebot copied to clipboard

moderation expression regex not parsing input.

Open CKY- opened this issue 5 months ago • 1 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Current Behavior

sample (cheap).*(view|follow) will no longer work on this is a message cheap follows

https://github.com/crowbartools/Firebot/blob/6ffd0e428e87ab7c91d54d6881ccdd1087d058af/src/backend/chat/moderation/chat-moderation-manager.ts#L485 it seems that we are not running the expressions on the input but only each word. can we add a whole input check?

Expected Behavior

check the whole string for any matches

Steps To Reproduce

No response

Version

5.64.x

What operating system are you using Firebot on?

Windows 10

Relevant log output


Contact Details (Optional)

No response

CKY- avatar May 19 '25 03:05 CKY-