diff options
author | mat-1 <github@matdoes.dev> | 2021-05-19 13:52:27 +0000 |
---|---|---|
committer | mat-1 <github@matdoes.dev> | 2021-05-19 13:52:27 +0000 |
commit | a8abc30d96306ef92bff5842948a6540e5c5347a (patch) | |
tree | 8e7c2f2e7f2010d59618a4dad6f6adb43f763e80 /build | |
parent | f735267ae66c2f6c75d7f599631e07d25ad73114 (diff) | |
download | skyblock-api-a8abc30d96306ef92bff5842948a6540e5c5347a.tar.gz skyblock-api-a8abc30d96306ef92bff5842948a6540e5c5347a.tar.bz2 skyblock-api-a8abc30d96306ef92bff5842948a6540e5c5347a.zip |
Compiled TS into JS
Diffstat (limited to 'build')
-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; |