aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners
diff options
context:
space:
mode:
Diffstat (limited to 'src/cleaners')
-rw-r--r--src/cleaners/rank.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cleaners/rank.ts b/src/cleaners/rank.ts
index 6d12f6f..ec55e8b 100644
--- a/src/cleaners/rank.ts
+++ b/src/cleaners/rank.ts
@@ -11,6 +11,7 @@ const rankColors: { [ name: string ]: string } = {
'YOUTUBE': 'c',
'HELPER': '9',
'MODERATOR': '2',
+ 'GM': '2',
'ADMIN': 'c'
}
@@ -49,6 +50,7 @@ export function cleanRank({
if (name === 'SUPERSTAR') name = 'MVP++'
// 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 ? colorCodeFromName(rankPlusColor) : null