diff --git a/index.js b/index.js index a7d57b2f594e5651665b74b98b71fd050b57c90f..d7ebebfa338055b6896c7829c92d7896c861a15f 100644 --- a/index.js +++ b/index.js @@ -49,6 +49,12 @@ client.on('update', (msg) => { return; } + // Don't follow other bots + if(msg.account.bot === true) { + console.log("BOT: " + acct); + return; + } + // Respect #nobot if (striptags(msg.account.note).match(/#nobot/i)) { client.mute_user(id);