aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/rank.ts
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-06-29 17:54:36 -0500
committermat <github@matdoes.dev>2021-06-29 17:54:36 -0500
commit758ca15277daa11ce1ec86ce7f07ea7beee9eb8f (patch)
treecb7b60a1ee126de8300f672ee4776987f127c8f0 /src/cleaners/rank.ts
parent6c7d2de36be559f62560f00fc2297c7deec3a051 (diff)
downloadskyblock-api-758ca15277daa11ce1ec86ce7f07ea7beee9eb8f.tar.gz
skyblock-api-758ca15277daa11ce1ec86ce7f07ea7beee9eb8f.tar.bz2
skyblock-api-758ca15277daa11ce1ec86ce7f07ea7beee9eb8f.zip
moderator -> mod
Diffstat (limited to 'src/cleaners/rank.ts')
-rw-r--r--src/cleaners/rank.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cleaners/rank.ts b/src/cleaners/rank.ts
index 2d80e31..76bf518 100644
--- a/src/cleaners/rank.ts
+++ b/src/cleaners/rank.ts
@@ -10,7 +10,7 @@ const rankColors: { [ name: string ]: string } = {
'MVP++': '6',
'YOUTUBE': 'c',
'HELPER': '9',
- 'MODERATOR': '2',
+ 'MOD': '2',
'GM': '2',
'ADMIN': 'c'
}
@@ -58,6 +58,9 @@ export function cleanRank({
case 'GAME_MASTER':
name = 'GM'
break
+ case 'MODERATOR':
+ name = 'MOD'
+ break
case undefined:
name = 'NONE'
break