Add colour for chat section header util

This commit is contained in:
Vortrex
2022-01-17 07:46:21 -06:00
parent 95f43695f9
commit 40265f0bac

View File

@@ -214,9 +214,9 @@ function messagePlayerTimedRandomTip(client, message) {
// =========================================================================== // ===========================================================================
function makeChatBoxSectionHeader(name) { function makeChatBoxSectionHeader(name) {
let resultString = `== ${name} `; let resultString = `{clanOrange}== {jobYellow}${name} `;
let endFiller = fillStringWithCharacter("=", getGlobalConfig().chatSectionHeaderLength-resultString.length); let endFiller = fillStringWithCharacter("=", getGlobalConfig().chatSectionHeaderLength-resultString.length);
return `${resultString} ${endFiller}`; return `${resultString} {clanOrange}${endFiller}`;
} }
// =========================================================================== // ===========================================================================