We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3a20bc commit 4fdbd6aCopy full SHA for 4fdbd6a
1 file changed
src/commands/osu-profile.ts
@@ -68,8 +68,8 @@ async function generateProfile(opts: { slackProfile?: UsersInfoResponse['user'],
68
*osu! user data*:
69
- *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`}
70
- *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`}
+ - *global rank:* ${osuProfile.linked ? (osuProfile.statistics.global_rank ? `#\u200B${osuProfile.statistics.global_rank.toLocaleString()}` : `No global rank`) : `Not linked`}
+ - ${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`}
73
`.split('\n').map(x => x.trim()).join('\n')
74
},
75
"accessory": {
0 commit comments