aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/rank.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cleaners/rank.ts')
-rw-r--r--src/cleaners/rank.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cleaners/rank.ts b/src/cleaners/rank.ts
index ea7579e..2ce95c8 100644
--- a/src/cleaners/rank.ts
+++ b/src/cleaners/rank.ts
@@ -1,4 +1,4 @@
-import { PlayerDataResponse as HypixelApiPlayerDataResponse } from 'typed-hypixel-api/build/responses/player'
+import typedHypixelApi from 'typed-hypixel-api'
import { colorCodeFromName, minecraftColorCodes } from '../util.js'
const rankColors: { [name: string]: string } = {
@@ -29,7 +29,7 @@ export function cleanRank({
rankPlusColor,
rank,
prefix
-}: HypixelApiPlayerDataResponse['player']): CleanRank {
+}: typedHypixelApi.PlayerDataResponse['player']): CleanRank {
let name: string | undefined
let color: string
let colored: string