This commit is contained in:
Sarimoko 2022-02-14 17:14:45 -08:00
parent 6c7538e18f
commit 983bd14026
1 changed files with 3 additions and 2 deletions

View File

@ -120,9 +120,10 @@ client.on('message', (channel, tags, message, self) => {
if(command === 'color') {
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`)
}else if (args.join === /^#[0-9A-F]{6}$/i.test('#AABBCC')){
}
if (args.join === /^#[0-9A-F]{6}$/i.test('#AABBCC')){
client.say(channel, `/color ${args.join(' ')}`);
}else if{
}else{
// Change your username color. Color must be in hex (#000000) or one of the following: Blue, BlueViolet, CadetBlue, Chocolate, Coral, DodgerBlue, Firebrick, GoldenRod, Green, HotPink, OrangeRed, Red, SeaGreen, SpringGreen, YellowGreen.
client.say(channel, `/color ${args.join(' ')}`);
client.say(channel, `/me @${tags.username} has changed my color to ${args.join(' ')}`);