Skip to content

Commit 4fdbd6a

Browse files
committed
THEY'RE RANKS NOT SCORES
1 parent c3a20bc commit 4fdbd6a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/commands/osu-profile.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ async function generateProfile(opts: { slackProfile?: UsersInfoResponse['user'],
6868
*osu! user data*:
6969
- *default/favorite ruleset*: ${osuProfile.linked ? { osu: ":osu-standard: osu!standard", taiko: ":osu-taiko: osu!taiko", fruits: ":osu-catch: osu!catch", mania: ":osu-mania: osu!mania"}[osuProfile.playmode] : `Not linked`}
7070
- *pp:* ${osuProfile.linked ? Math.floor(osuProfile.statistics.pp).toLocaleString() : `Not linked`}
71-
- *global score:* ${osuProfile.linked ? (osuProfile.statistics.global_rank ? `#\u200B${osuProfile.statistics.global_rank.toLocaleString()}` : `No global rank`) : `Not linked`}
72-
- ${countryCodeToFlag(osuProfile.linked ? osuProfile.country_code : undefined)} *country score:* ${osuProfile.linked ? (osuProfile.statistics.country_rank ? `#\u200B${osuProfile.statistics.country_rank.toLocaleString()}` : `No country rank`) : `Not linked`}
71+
- *global rank:* ${osuProfile.linked ? (osuProfile.statistics.global_rank ? `#\u200B${osuProfile.statistics.global_rank.toLocaleString()}` : `No global rank`) : `Not linked`}
72+
- ${countryCodeToFlag(osuProfile.linked ? osuProfile.country_code : undefined)} *country rank:* ${osuProfile.linked ? (osuProfile.statistics.country_rank ? `#\u200B${osuProfile.statistics.country_rank.toLocaleString()}` : `No country rank`) : `Not linked`}
7373
`.split('\n').map(x => x.trim()).join('\n')
7474
},
7575
"accessory": {

0 commit comments

Comments
 (0)