added helpers
This commit is contained in:
parent
03fc3e81c3
commit
8048822859
@ -7,6 +7,8 @@ const { getMyPlaylist } = require('./linx-commands')
|
|||||||
const chalk = require('chalk')
|
const chalk = require('chalk')
|
||||||
|
|
||||||
const owners = ['notnull']
|
const owners = ['notnull']
|
||||||
|
const helpers = ['notnull', 'rfa', 'substack']
|
||||||
|
|
||||||
const autojoin = ['#anarchybots']
|
const autojoin = ['#anarchybots']
|
||||||
|
|
||||||
const host = process.env.HOST || 'localhost'
|
const host = process.env.HOST || 'localhost'
|
||||||
@ -57,7 +59,7 @@ const handleQuit = event => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const handleReset = event => {
|
const handleReset = event => {
|
||||||
if (!owners.includes(event.nick)) return
|
if (!helpers.includes(event.nick)) return
|
||||||
reset(event)
|
reset(event)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user