Update 'index.js'
This commit is contained in:
parent
6606983915
commit
506b38faee
2
index.js
2
index.js
|
@ -8,7 +8,7 @@ AutojoinRoomsMixin.setupOnClient(client);
|
|||
client.start().then(() => console.log(`meow`));
|
||||
|
||||
client.on("room.message", (roomId, event) => {
|
||||
if (!event["content"] || event["sender"] === config.user) return;
|
||||
if (!event["content"] || event["sender"].includes("_bot:")) return;
|
||||
try {
|
||||
|
||||
if (event["content"]["body"].toLowerCase().includes("meow")) {
|
||||
|
|
Loading…
Reference in a new issue