This commit is contained in:
Sarimoko 2022-02-14 18:57:21 -08:00
parent 31a768080b
commit fda40712de
1 changed files with 2 additions and 7 deletions

View File

@ -121,11 +121,6 @@ client.on('message', (channel, tags, message, self) => {
if (message === '!color'){
client.say(channel, `/me @{tags.username} you forgot to tell me what color to change to... You can enter hex (#000000) or choose fon the preset color names: Blue, BlueViolet, CadetBlue, Chocolate, Coral, DodgerBlue, Firebrick, GoldenRod, Green, HotPink, OrangeRed, Red, SeaGreen, SpringGreen, YellowGreen`)
}
// TO-DO: Build error checker
if (message == `!color #`){
client.say(channel, `/color ${args.join(' ')}`);
client.say(channel, `/me @${tags.username} has changed my hex color to ${args.join(' ')}... Welp, alright!`);
}
if (message === `!color Blue` ||
message === `!color BlueViolet ` ||
message === `!color CadetBlue ` ||
@ -160,7 +155,8 @@ client.on('message', (channel, tags, message, self) => {
client.say(channel, `/me @${tags.username} has changed my color to ${args.join(' ')}... Welp, alright!`);
}
else{
client.say(channel, `/me @Sorry ${tags.username}, but ${args.join(' ')} is not a valid color choice! Please try again!`);
client.say(channel, `/color ${args.join(' ')}`);
client.say(channel, `/me @${tags.username} has changed my color to ${args.join(' ')}... Welp, alright!`);
}
}
// FX | K A P P A G E N S
@ -327,7 +323,6 @@ client.on("hosting", (channel, target, viewers) => {
// --------------------------------
client.on("join", (channel, username, self) => {
console.log('LOG |'.black.bgBrightGreen, username.black.bgYellow, 'joined the chat!'.black.bgBrightGreen);
client.say(channel, `!kappagen sarimoKO sarimoSOUP sarimoLURK New lurker, your secret is safe with me!`)
//if(username === 'sarimoko') {
// client.say(channel, `/me @`+ username +`, entered his own chat... Caught you lurking yourself! sarimoNERD sarimoDUDE`);
//}