From 4c8f1e18d24e882b57033ecba20a97a43e3b53da Mon Sep 17 00:00:00 2001 From: Ashley Date: Fri, 30 Aug 2024 09:24:35 +0000 Subject: [PATCH] darn --- modules/meow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)