diff options
Diffstat (limited to 'build/cleaners')
-rw-r--r-- | build/cleaners/rank.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/cleaners/rank.js b/build/cleaners/rank.js index 70156df..cdf08ed 100644 --- a/build/cleaners/rank.js +++ b/build/cleaners/rank.js @@ -12,6 +12,7 @@ const rankColors = { 'YOUTUBE': 'c', 'HELPER': '9', 'MODERATOR': '2', + 'GM': '2', 'ADMIN': 'c' }; /** Response cleaning (reformatting to be nicer) */ @@ -38,6 +39,8 @@ function cleanRank({ packageRank, newPackageRank, monthlyPackageRank, rankPlusCo // YouTube rank is called YouTuber, change this to the proper name else if (name === 'YOUTUBER') name = 'YOUTUBE'; + else if (name === 'GAME_MASTER') + name = 'GM'; else if (name === undefined) name = 'NONE'; const plusColor = rankPlusColor ? util_1.colorCodeFromName(rankPlusColor) : null; |