From 8aeea633e04b7ca70664d77e34e64caf9f6a1e7d Mon Sep 17 00:00:00 2001 From: Chris Ham Date: Thu, 13 Sep 2018 18:06:19 -0700 Subject: [PATCH] automation wip --- twitch.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/twitch.js b/twitch.js index c378694..cd675d4 100755 --- a/twitch.js +++ b/twitch.js @@ -255,9 +255,8 @@ const streamInit = (config, obs, twitch) => { return `[${i+1}] ${e.chatName}`; }); const sayVote = () => {twitch.botChat.say(twitchChannel, `Vote for which video playlist you'd like to see next using ${config.twitch.cmdPrefix}vote #: ${playlistChoices.join(' | ')}`)}; - /*setTimeout(sayVote, 5000); - setInterval(sayVote, 900000);*/ - + setTimeout(sayVote, 5000); + setInterval(sayVote, 900000); // When: Every 2 Hours // What: Change the video playlist