[READ-ONLY] Mirror of https://github.com/flo-bit/streamplace-overlay. flo-bit.dev/streamplace-overlay

Pet-type pick: require whole-message match master

Fixes a footgun spotted on stream: felinus typed "did you turn me into a duck" and the pet-type picker happily turned them into a duck because the regex matched the bare word "duck" anywhere in the message. Goose.art flagged it ("i thought it was hardcoded only for people with goose in their handle, so i'm a bit confused") — explanation is the casual- mention rule. Now the message must be just `cat`, `!cat`, `dog`, `!dog` etc. (with optional surrounding whitespace) to swap pet type. `random` follows the same whole-message rule for clearing the override. Casual sentences containing animal words no longer rewrite the chatter's avatar — closer to what goose.art's mental model already assumed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>


+12 -9
1 changed file