diff --git a/modules/meow.js b/modules/meow.js index 74cb345..f16439f 100644 --- a/modules/meow.js +++ b/modules/meow.js @@ -26,7 +26,7 @@ async function onMessage(client, event) { if(content["m.new_content"] != null) return; for(const meow of meows) { - if(content.body.toLowerCase().includes(re)) { + if(re.test(content.body.toLowerCase())) { var reply = meows.random(); reply += "!".repeat(Math.random()*5)