From 8048822859cef12a8d9863ff031e49e2534a16c2 Mon Sep 17 00:00:00 2001 From: notnull Date: Sat, 18 Jan 2020 00:16:57 -0500 Subject: [PATCH] added helpers --- src/irc-bot.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/irc-bot.js b/src/irc-bot.js index 8304c9c..9ffe949 100644 --- a/src/irc-bot.js +++ b/src/irc-bot.js @@ -7,6 +7,8 @@ const { getMyPlaylist } = require('./linx-commands') const chalk = require('chalk') const owners = ['notnull'] +const helpers = ['notnull', 'rfa', 'substack'] + const autojoin = ['#anarchybots'] const host = process.env.HOST || 'localhost' @@ -57,7 +59,7 @@ const handleQuit = event => { } const handleReset = event => { - if (!owners.includes(event.nick)) return + if (!helpers.includes(event.nick)) return reset(event) }