From 31a768080b84173f6e8fc872bc7d12339fb62864 Mon Sep 17 00:00:00 2001 From: Sarimoko Date: Mon, 14 Feb 2022 17:51:23 -0800 Subject: [PATCH] soft hex check --- node/boto.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/boto.js b/node/boto.js index b3a776b..8e25463 100644 --- a/node/boto.js +++ b/node/boto.js @@ -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 ` ||