From 6a7bc2c4d9e6bb505d5fc88ea2a038cb48460d96 Mon Sep 17 00:00:00 2001 From: Tagadda <36127788+Tagadda@users.noreply.github.com> Date: Sun, 10 Jun 2018 11:30:36 +0200 Subject: [PATCH] Fix #nobot detection --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 99820f6..8f22864 100644 --- a/index.js +++ b/index.js @@ -49,6 +49,7 @@ client.on('update', (msg) => { if (striptags(msg.account.note).match(/#nobot/i)) { client.mute_user(id); console.log("MUTED #nobot: " + acct); + return; } // This will be... not optimal I think. -- GitLab