diff --git a/node/boto.js b/node/boto.js index 04c2ece..3694e8d 100644 --- a/node/boto.js +++ b/node/boto.js @@ -118,7 +118,7 @@ client.on('message', (channel, tags, message, self) => { if(isSub) { // CMD | Color if(command === 'color') { - if (args.join(' ') === null){ + 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`) } if (args.join === /^#[0-9A-F]{6}$/i.test('#AABBCC')){