Compare commits

...

2 Commits

Author SHA1 Message Date
8048822859 added helpers 2020-01-18 00:16:57 -05:00
03fc3e81c3 add message for reset playlists 2020-01-07 06:17:19 -05:00
2 changed files with 4 additions and 1 deletions

View File

@ -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)
}

View File

@ -53,6 +53,7 @@ const addAllPlaylists = async event => {
).then(() => {
shuffleAllPlaylists()
play()
return event.reply('Successfully reset playlists.')
})
} catch (e) {
return handleError(e, event)