diff --git a/node/boto.js b/node/boto.js index 09cde94..84ee4aa 100644 --- a/node/boto.js +++ b/node/boto.js @@ -34,10 +34,29 @@ client.on('message', (channel, tags, message, self) => { if(self || !message.startsWith('!')) return; // Command Parser const args = message.slice(1).split(' '); const command = args.shift().toLowerCase(); // !COMMAND => command - - - else if(isSub) { // !SUBS | START - } - else(isModUp) { // !MODS | START + if(isModUp) { // !MODS | START + console.log('Captians Log: MOD used a command...'); // Log for ALL commands Mods use Mod/Sub/General + if(command === 'so' || + command === 'shoutout') { + client.say(channel, `/me Smash @${args.join(' ')}'s follow button at: https://twitch.tv/${args.join(' ')}`); + } + else if(command === 'mute' || + command === 'slap' || + command === 'timeout' || + command === 'warn') { + client.say(channel, `/timeout ${args.join(' ')} 33`); + client.say(channel, `/me Mods cast a 33sec Timeout Curse on @${args.join(' ')}, resistence to Bans is decreased!`); + client.say(channel, `!kappagen sarimoRAGE sarimoNERD`); + } } // !MODS | END + + if(isSub) { // !SUBS | START + console.log('Captians Log: SUB used a command...'); // Log + console.log(tags.username, 'is a subscriber'); + } // !SUBS | END + + if { // !ALL | START + console.log('LOG: Non-Mod command used!'); + } // !ALL | END + }); // SCAN MSG | END \ No newline at end of file