soft hex check
This commit is contained in:
parent
045227d156
commit
31a768080b
|
@ -122,9 +122,9 @@ client.on('message', (channel, tags, message, self) => {
|
||||||
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
|
// TO-DO: Build error checker
|
||||||
if (message === `!color #`+*+*+*+*+*+*){
|
if (message == `!color #`){
|
||||||
client.say(channel, `/color ${args.join(' ')}`);
|
client.say(channel, `/color ${args.join(' ')}`);
|
||||||
client.say(channel, `/me @${tags.username} has changed my color to ${args.join(' ')}... Welp, alright!`);
|
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 ` ||
|
||||||
|
|
Loading…
Reference in New Issue