import export

This commit is contained in:
Sarimoko 2022-02-14 02:11:24 -08:00
parent e6b3308685
commit ae6be669e8
1 changed files with 8 additions and 271 deletions

View File

@ -59,191 +59,6 @@ client.on('message', (channel, tags, message, self) => {
const args = message.slice(1).split(' '); const args = message.slice(1).split(' ');
const command = args.shift().toLowerCase(); // !COMMAND => command const command = args.shift().toLowerCase(); // !COMMAND => command
// 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 `);
}
// MINI GAME
// TODO: // TODO:
// Uptime // Uptime
// Viewers // Viewers
@ -251,93 +66,13 @@ client.on('message', (channel, tags, message, self) => {
// Followers // Followers
// CHAT COMMANDS | End // CHAT COMMANDS | End
if(isSub) { // SUB | Start // import { cmd_general } from "./cmd/general.js";
// FX | K A P P A G E N S // cmd_general();
if(command === 'bg' || // import { cmd_subs } from "./cmd/subs.js";
command === 'notgg') { // cmd_suds();
client.say(channel, `!kappagen sarimoDEAD sarimoGAME Bleep-Bloop!`); // import { cmd_mods } from "./cmd/mods.js";
} // cmd_mods();
if(command === 'clap' ||
command === 'claps') {
client.say(channel, `!kappagen sarimoDEAD sarimoGAME Bleep-Bloop!`);
}
if(command === 'hair' ||
command === 'hairflip') {
client.say(channel, `!kappagen sarimoHAIR sarimoBANG Bleep-Bloop!`);
}
if(command === 'hi' ||
command === 'hello') {
client.say(channel, `!kappagen sarimoKO sarimoNERD Bleep-Bloop!`);
}
if(command === 'hype' ||
command === 'train') {
client.say(channel, `!kappagen sarimoHYPE sarimoBITS Bleep-Bloop!`);
}
if(command === 'salt' ||
command === 'shoutout') {
client.say(channel, `!kappagen sarimoSALT sarimoRAGE Bleep-Bloop!`);
}
if(command === 'soup' ||
command === 'sup') {
client.say(channel, `!kappagen sarimoSOUP sarimoTRIP `);
client.say(channel, `/me Yo @${tags.username}, how goes it? Bleep-Bloop!`);
}
} // SUB | END
if(isModUp) { // MOD Start
// Shoutout
if(command === 'so' ||
command === 'shoutout') {
client.say(channel, `/me Roll the clip! Smash @${args.join(' ')}'s follow button at: https://twitch.tv/${args.join(' ')} Bleep-Bloop!`);
}
if(command === 'default' ||
command === 'sariboto') {
client.say(channel, `/color BlueViolet`);
client.say(channel, `/me I've reconfigured myself to @Sarimoko's preferences! Bleep-Bloop!`);
client.say(channel, `/emoteonlyoff `);
client.say(channel, `/followersoff `);
client.say(channel, `/slowoff `);
client.say(channel, `/subscribersoff `);
}
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`);
}
// MOD TOOLS
// CHAT MODES
// Emotes
// Slow
// Subs
// Normalizer
// uniquechat / uniquechatoff
// endpoll deletepoll maybe poll? idk how the bot would edit it
// Run Ads | TODO Fix Permissions...
//if(command === 'ad' ||
//command === 'ads' ||
//command === 'dab30' ||
//command === 'intermission') {
// client.say(channel, `/me @Sarimoko lets have a secret 30 second conversation with only our loyal subs while the ads run! Enjoy the commercials followering no subbing plebs! Wait @sarimoko makes money off ads too... Well this is awkward thank you peasants for not using adblocker! Wait I'm making it worse... Bleep-Bloop!`);
// client.say(channel, `!kappagen sarimoKO sarimoBANG`);
// client.commercial("channel", 30)
// .then((data) => {
// // data returns [channel, seconds]
// }).catch((err) => {
// //
// });
//}
// Block
} // MOD | END
}); // SCAN MSG | END }); // SCAN MSG | END
// TTV Re-Active // TTV Re-Active
@ -350,3 +85,5 @@ client.on('message', (channel, tags, message, self) => {
// if (self) return; // if (self) return;
// console.log('LOG: Action '); // console.log('LOG: Action ');
// }); // });
// import { ttv_alerts } from "./alerts.js";
// ttv_alerts();