soft hex check

This commit is contained in:
Sarimoko 2022-02-14 17:51:23 -08:00
parent 045227d156
commit 31a768080b
1 changed files with 2 additions and 2 deletions

View File

@ -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`)
}
// TO-DO: Build error checker
if (message === `!color #`+*+*+*+*+*+*){
if (message == `!color #`){
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` ||
message === `!color BlueViolet ` ||