Wrong whitelist tags management
Gyoo opened this issue · comments
"Something we noticed in the Mario Party discord is that the bot posts if a channel is playing a Mario Party game and has Drunk in its title beause we have run as a keyword
It isnt a huge deal, but I just though I'd let you know that it was happening due to how the bot currently handles strings"
Found by renn on Discord
Changed the way tags are checked in the titles.
Before : If the title contains the tag somewhere, no matter how, it's validated
Now : If the tag is the beginning of a word (helps for plural forms : "run" => "runs" accepted, "Drunk" is not) it's validated