dadbot
dadbot copied to clipboard
kys detection not working as intended
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".
This approach is one of possible fixes (ignore the /gm)
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!