This commit is contained in:
Ashley 2024-08-30 09:24:35 +00:00
parent 2329d26cb4
commit 4c8f1e18d2

View file

@ -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)