init
This commit is contained in:
parent
31a768080b
commit
fda40712de
|
@ -121,11 +121,6 @@ client.on('message', (channel, tags, message, self) => {
|
||||||
if (message === '!color'){
|
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`)
|
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` ||
|
if (message === `!color Blue` ||
|
||||||
message === `!color BlueViolet ` ||
|
message === `!color BlueViolet ` ||
|
||||||
message === `!color CadetBlue ` ||
|
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!`);
|
client.say(channel, `/me @${tags.username} has changed my color to ${args.join(' ')}... Welp, alright!`);
|
||||||
}
|
}
|
||||||
else{
|
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
|
// 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) => {
|
client.on("join", (channel, username, self) => {
|
||||||
console.log('LOG |'.black.bgBrightGreen, username.black.bgYellow, 'joined the chat!'.black.bgBrightGreen);
|
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') {
|
//if(username === 'sarimoko') {
|
||||||
// client.say(channel, `/me @`+ username +`, entered his own chat... Caught you lurking yourself! sarimoNERD sarimoDUDE`);
|
// client.say(channel, `/me @`+ username +`, entered his own chat... Caught you lurking yourself! sarimoNERD sarimoDUDE`);
|
||||||
//}
|
//}
|
||||||
|
|
Loading…
Reference in New Issue