Description
the regex in the $cheerMessage variable will remove any combination of text followed by numbers, eg. "huds601". In addition, cheermotes which include numbers (eg. huds601Cheer) will only remove the Cheer<n> part, resulting in huds601 remaining in the message.
Steps to Reproduce
- Create a cheer event which logs $cheerMessage
- simulate a cheer event with message
cheer100 Test message for huds601 - huds601Cheer42 Hello!
- Notice the message in devtools ends up being
Test message for - huds601Hello!
Expected Behavior
Message should instead log Test message for huds601 - Hello!
Firebot Version
v5.65.4
Submitted By
dennisoti
Created via Discord.
Description
the regex in the $cheerMessage variable will remove any combination of text followed by numbers, eg. "huds601". In addition, cheermotes which include numbers (eg. huds601Cheer) will only remove the
Cheer<n>part, resulting inhuds601remaining in the message.Steps to Reproduce
cheer100 Test message for huds601 - huds601Cheer42 Hello!Test message for - huds601Hello!Expected Behavior
Message should instead log
Test message for huds601 - Hello!Firebot Version
v5.65.4
Submitted By
dennisoti