diff --git a/node/cmd/general.js b/node/cmd/general.js new file mode 100644 index 0000000..cfdbd46 --- /dev/null +++ b/node/cmd/general.js @@ -0,0 +1,183 @@ +// CMD | CHAT COMMANDS | Start + // CMD | RNGUser + if(command === 'rnguser') { + // Get a random user but skip the user requesting a random user + getRandomChatter(channel, { skipList: [ tags.username ] }) + .then(user => { + if(user === null) { + client.say(channel, `Sorry ${tags.username}, this is embarrassing... There was no one to choose from! #smallstreamerproblems Bleep-Bloop!`); + } + else { + let { name, type } = user; + client.say(channel, `${tags.username} exluded, at random I choose "${name}" cuz they're such an amazing ${type}!`); + } + }) + .catch(err => console.log('[ERR]', err)); + } + // CMD | Color + if(command === 'color') { + // Change your username color. Color must be in hex (#000000) or one of the following: Blue, BlueViolet, CadetBlue, Chocolate, Coral, DodgerBlue, Firebrick, GoldenRod, Green, HotPink, OrangeRed, Red, SeaGreen, SpringGreen, YellowGreen. + client.say(channel, `/color ${args.join(' ')}`); + client.say(channel, `/me @${tags.username} has changed my color to ${args.join(' ')}`); + client.say(channel, `/me Out of the entire hex (#000000) spectrum or the preset color names: Blue, BlueViolet, CadetBlue, Chocolate, Coral, DodgerBlue, Firebrick, GoldenRod, Green, HotPink, OrangeRed, Red, SeaGreen, SpringGreen, YellowGreen you choose ${args.join(' ')}... Welp, alright!`); + } + // CMD | Code + if(command === 'code' || + command === 'git' || + command === 'repo' || + command === 'dev') { + client.say(channel, `/me The CODE | Open-Source code available at: https://cord.sarimoko.com/`); + } + // CMD | Dice Roll + if(command === 'dice' || + command === 'roll') { + const result = Math.floor(Math.random() * 6) + 1; + client.say(channel, `/me RNGesus has rolled @${tags.username} a ${result}!`); + } + // CMD | Dojo + if(command === 'dojo' || + command === 'guide' || + command === 'tutor' || + command === 'lessons' || + command === 'lesson' || + command === 'coarse' || + command === 'guide' || + command === 'guides') { + client.say(channel, `/me The Dojo | DIY's & 1on1's available at: https://cord.sarimoko.com/`); + } + // CMD | Lurk + if(command === 'lurk' || + command === 'lurkin' || + command === 'lurking') { + client.say(channel, `/me Bleep-Bloop! Thanks for lurking, your viewership & support is much appriciated!`); + client.say(channel, `!kappagen sarimoLURKbrb sarimoKO sarimoLURKbrb sarimoKO sarimoLURKbrb sarimoKO `); + } + // CMD | Mark + if(command === 'mark' || + command === 'merch' || + command === 'mousepad' || + command === 'shirts' || + command === 'stickers') { + client.say(channel, `/me Bleep-Bloop! Thanks for lurking, your viewership & support is much appriciated!`); + client.say(channel, `!kappagen sarimoLURKbrb sarimoKO sarimoLURKbrb sarimoKO sarimoLURKbrb sarimoKO `); + } + // CMD | Raid + if(command === 'raid' || + command === 'raidcall' || + command === 'spam' || + command === 'spamwars') { + client.say(channel, `!kappagen sarimoRAID sarimoFREEDOM sarimoRAID sarimoFREEDOM sarimoRAID sarimoFREEDOM`); + client.say(channel, `/me Thanks everyone for watching!!! PREPARE TO SPAM!`); + client.say(channel, `/me Copy'n'Paste the following: (Yes, even if you don't have a sub... We know your a sub at PrideHeartL PrideHeartR LuvHearts`); + client.say(channel, `sarimoRAID sarimoFREEDOM You may take us viewers, but you'll NEVER take our FREEDOM!`); + } + // CMD | Rule + if(command === 'rule' || + command === 'rules') { + client.say(channel, `/me Bleep-Bloop! Reminder of the Chat Rules`); + client.say(channel, `1. Do NOT feed the Trolls!`); + client.say(channel, `2. Do NOT be a Troll!`); + client.say(channel, `3. Do NOT be another brick in the wall!`); + } + // CMD | Sale + if(command === 'sale' || + command === 'buygames' || + command === 'humble' || + command === 'bundle' || + command === 'humblebundle') { + client.say(channel, `/me Bleep-Bloop! Get sales & give to charity! Win + win, right?! Check out HumbleBundle, use this affiliated link to support the stream: https://www.humblebundle.com/?partner=rusttv`); + } + // CMD | Time + if(command === 'time' || + command === 'pst' || + command === 'pac') { + client.say(channel, `/me Bleep-Bloop! PST | 2-Pac Standard Time`); + } + // CMD | Trip + if(command === 'trip' || + command === 'trippin' || + command === 'tripping') { + client.say(channel, `BLEEP! BLOOP! I'm trippin dragon ballz! Did @trip_228 spike my bios?!`); + client.say(channel, `!kappagen sarimoTRIP sarimoTRIP sarimoTRIP`); + client.say(channel, `Stay calm... Just remember your name & ip address... @Sarimoko 127.0.0.1... @Sarimoko 127.0.0.1...`); + } + // CMD | Tune + if(command === 'tune' || + command === 'lyrics' || + command === 'midi' || + command === 'tabs') { + client.say(channel, `/me The Tune | Lyrics, MIDI, Tabs, & more hosted on Git written in Markdown available at: https://dojo.sarimoko.com/`); + } + // CMD | Weed + if(command === 'weed' || + command === 'pot' || + command === 'dab' || + command === 'dab30' || + command === 'roach' || + command === 'roach30' || + command === 'bong' || + command === 'joint' || + command === 'bongs' || + command === 'pipe') { + client.say(channel, `/me The Sarimoko Show is an adults only channel based in California where we've passed Prop 64: Adult Use of Marijuana Act. Marijuana and Cannabis is not for everyone, please seek a professional for further guidance on THC and CBD.`); + } + // CMD | Whom + if(command === 'whom' || + command === 'who' || + command === 'cv' || + command === 'resume' || + command === 'portfolio') { + client.say(channel, `/me Who's asking? ${tags.username} if you're a cop you HAVE to tell me, right?! CV/Portfolio/Resume is available at: https://whom.sarimoko.com/ `); + } + // CMD | Wish + if(command === 'wish' || + command === 'wishlist' || + command === 'amazon' || + command === 'gift') { + client.say(channel, `/me First off, thank you ${tags.username} for even considering contributing directly! Amazon Wishlists have been split into sub-categories and are available at: https://wish.sarimoko.com/ `); + } + + // CMD | SOCIAL PLATFORMS + // CMD | Cord + if(command === 'cord' || + command === 'discord') { + client.say(channel, `/me The Cord | The official Discod to join & share at: https://cord.sarimoko.com/`); + } + if(command === 'fb' || + command === 'facebook' || + command === '') { + client.say(channel, `/me Facebook | https://facebook.com/sarimoko.o `); + } + if(command === 'insta' || + command === 'ig' || + command === 'instagram') { + client.say(channel, `/me Instagram | https://instagram.com/sari.moko `); + } + if(command === 'reddit' || + command === 'subreddit') { + client.say(channel, `/me Reddit | https://reddit.com/r/sarimoko_o `); + } + // CMD | Social + if(command === 'social' || + command === 'socials' || + command === 'linktree') { + client.say(channel, `/me YouTube | https://youtube.com/c/sarimoko `); + client.say(channel, `/me Instagram | https://instagram.com/sari.moko `); + client.say(channel, `/me Facebook | https://facebook.com/sarimoko.o `); + client.say(channel, `/me Reddit | https://reddit.com/r/sarimoko_o `); + client.say(channel, `/me TikTok | https://twitter.com/@sarimoko `); + client.say(channel, `/me Twitter | https://twitter.com/sarimoko_o `); + } + if(command === 'tiktok' || + command === 'tik' || + command === 'tok') { + client.say(channel, `/me TikTok | https://twitter.com/@sarimoko `); + } + if(command === 'twitter' || + command === 'tweet') { + client.say(channel, `/me Twitter | https://twitter.com/sarimoko_o `); + } + if(command === 'twitter' || + command === 'tweet') { + client.say(channel, `/me Twitter | https://twitter.com/sarimoko_o `); + } \ No newline at end of file