easier command

This commit is contained in:
Chris Ham
2018-09-25 15:45:48 -07:00
parent a197b379e4
commit b1cc3eff6b
2 changed files with 3 additions and 3 deletions

View File

@@ -279,14 +279,14 @@ const streamInit = (config, twitch) => {
obs.switchToScene(newScene).catch(console.error);
// SET ON-SCREEN ACTIVITY
} else if (commandNoPrefix === 'setactivity') {
} else if (commandNoPrefix === 'setact') {
let newActivity = commandParts.slice(1).join(' ');
if (!newActivity) {
twitch.botChat.say(to, `Please provide a new activity`);
return;
}
obs.showActivity(newActivity).then(() => twitch.botChat.say(to, `Activity updated!`)).catch(console.error);
obs.showActivity(newActivity).catch(console.error);
// REBOOT
} else if (commandNoPrefix === 'reboot') {