Use adminOrange instead of adminRed
This commit is contained in:
@@ -178,6 +178,7 @@ let serverColours = {
|
||||
clanOrange: "FF9900",
|
||||
vehiclePurple: "960096",
|
||||
jobYellow: "FFFF00",
|
||||
adminOrange: "ED4337",
|
||||
},
|
||||
},
|
||||
|
||||
@@ -223,6 +224,7 @@ let serverColours = {
|
||||
houseGreen: toColour(17, 204, 17, 255),
|
||||
clanOrange: toColour(255, 153, 0, 255),
|
||||
npcPink: toColour(219, 112, 147, 255),
|
||||
adminOrange: toColour(205, 60, 60, 255),
|
||||
},
|
||||
};
|
||||
|
||||
@@ -2678,6 +2680,14 @@ function removeColoursInMessage(messageText) {
|
||||
return "";
|
||||
}
|
||||
|
||||
if(typeof messageText != "string") {
|
||||
return "";
|
||||
}
|
||||
|
||||
if(messageText == "") {
|
||||
return "";
|
||||
}
|
||||
|
||||
let tempFind = `{RESETCOLOUR}`;
|
||||
let tempRegex = new RegExp(tempFind, 'g');
|
||||
messageText = messageText.replace(tempRegex, "");
|
||||
|
||||
Reference in New Issue
Block a user