more test
This commit is contained in:
parent
faa323573b
commit
400f735a9d
|
@ -118,7 +118,7 @@ client.on('message', (channel, tags, message, self) => {
|
||||||
if(isSub) {
|
if(isSub) {
|
||||||
// CMD | Color
|
// CMD | Color
|
||||||
if(command === '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`)
|
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')){
|
if (args.join === /^#[0-9A-F]{6}$/i.test('#AABBCC')){
|
||||||
|
|
Loading…
Reference in New Issue