test
This commit is contained in:
parent
983bd14026
commit
faa323573b
|
@ -118,7 +118,7 @@ client.on('message', (channel, tags, message, self) => {
|
|||
if(isSub) {
|
||||
// CMD | Color
|
||||
if(command === 'color') {
|
||||
if (args.join === null){
|
||||
if (${args.join(' ')} === null){
|
||||
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')){
|
||||
|
|
Loading…
Reference in New Issue