Update 'node/boto.js'

This commit is contained in:
Sarimoko 2022-02-12 19:26:39 +00:00
parent 241285ddfa
commit d63bf8e0d2
1 changed files with 14 additions and 0 deletions

View File

@ -39,8 +39,10 @@ client.on('message', (channel, tags, message, self) => {
// The 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 Bleep! Bloop! @${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!`);
}
// CORD
if(command === 'cord' ||
@ -96,6 +98,17 @@ client.on('message', (channel, tags, message, self) => {
client.say(channel, `/me Bleep! Bloop! ${tags.username} turned off EMOTE ONLY chat! Chatter freely!`);
client.say(channel, `/emoteonlyoff `);
}
// CHAT MODE: Slow
if(command === 'slow' ||
command === 'slowchat') {
client.say(channel, `/me Bleep! Bloop! ${tags.username} just activated SLOW MODE chat! Send a message every ${args.join(' ')} seconds, that give @Sarimoko time to ketchup!`);
client.say(channel, `/slow ${args.join(' ')}`);
}
if(command === 'emoteoff' ||
command === 'emoteonlyoff') {
client.say(channel, `/me Bleep! Bloop! ${tags.username} turned off SLOW MODE chat! Chatter freely!`);
client.say(channel, `/slowoff `);
}
// CHAT MODE: Subs
if(command === 'subsonly') {
@ -138,6 +151,7 @@ client.on('message', (channel, tags, message, self) => {
// TTV Re-Active
// ==================================
// TO-DO: Add Follower API
client.on("anongiftpaidupgrade", (channel, username, userstate) => {
client.whisper(username, `BLEEP! BLOOP! Anon-Sub upgraded!!!`);
});