darn
This commit is contained in:
parent
2329d26cb4
commit
4c8f1e18d2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue