dadbot icon indicating copy to clipboard operation
dadbot copied to clipboard

kys detection not working as intended

Open EukkMaru opened this issue 10 months ago • 1 comments

image The regex for kys detection in autoresponse doesn't seem to catch "kill yourself" or "kill your self" and only react to "kys". This has been reflected in the bot's actual behavior, where the bot would react to "kys" but not "kill yourself".

image This approach is one of possible fixes (ignore the /gm)

EukkMaru avatar Apr 12 '24 05:04 EukkMaru

Thanks for catching that, I wrote that regex a long time ago, before I had an understanding of it, but looking at it now the issue seems kinda obvious. I'll make a fix tomorrow. Thanks again!

AlekEagle avatar Apr 12 '24 06:04 AlekEagle