Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-10 02:54:44 +00:00
parent 07d884694a
commit 123da476ed
1 changed files with 42 additions and 1 deletions

View File

@ -25,8 +25,19 @@ client.on('message', (channel, tags, message, self) => {
const isMod = badges.moderator;
const isModUp = isBroadcaster || isMod;
});
// R E A C T I V E
// ==================================
client.on("resub", function (channel, username, months, message, userstate, methods) {
// Do your stuff.
});
client.on("subscription", function (channel, username, method, message, userstate) {
// Do your stuff.
});
// !COMMANDS
// ==================================
// TODO:
// ==================================
// + Add Cooldowns
// + Add Mod vs Streamer vs Viewer vs Sub control
// + Turn BOTO into join userchannel_db & make botoff to rm_userchannel_db
@ -76,8 +87,38 @@ client.on('message', (channel, tags, message, self) => {
else if(command === 'echo') {
client.say(channel, `/me @${tags.username} says ${args.join(' ')}`);
}
// The Hair
// ----------------------------------
else if(command === 'hair' || command === 'hairflip' || command === 'bang' || command === 'headbang') {
client.say(channel, `!kappagen sarimoBANG sarimoHAIR sarimoBANG sarimoHAIR sarimoBANG sarimoHAIR `);
}
// The Lurk
// ----------------------------------
else if(command === 'lurk' || command === 'lurking' || command === 'lurkin' || command === 'brb') {
client.say(channel, `/me Enjoy your lurk ${tags.username}, thanks for the viewership! `);
client.say(channel, `!kappagen sarimoLURKbrb sarimoKO sarimoLURKbrb sarimoKO sarimoLURKbrb sarimoKO `);
}
// The Mote
// ----------------------------------
else if(command === 'mote' || command === 'emote' || command === 'emotes') {
client.say(channel, `!kappagen sarimoBOTO sarimoDEAD sarimoDUDE sarimoGAME sarimoMASK sarimoGEAR sarimoHAIR sarimoHYPE sarimoLURK sarimoMILK sarimoNERD sarimoRAID sarimoSALT sarimoSOUP sarimoRIDE sarimoKO `);
client.say(channel, `sarimoBANG sarimoFREEDOM sarimoLURKbrb sarimoSALTplz sarimoTRIP `);
}
// The Wish
// ----------------------------------
else if(command === 'wish' || command === 'wishlist' || command === 'amazon' || command === 'gift') {
client.say(channel, `/w 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/ `);
}
// T H E S H O W
// T H E V I E W E R S
// ==================================
// TODO Followerage
// TODO Total Followers
// TODO Total Channel Views
// TODO Current Viewers
// ----------------------------------
// T H E R A I D
// ==================================
// Being Raided
// ----------------------------------