Skip to content

Commit 5406117

Browse files
committed
Fix first place emoji
1 parent dc58086 commit 5406117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/activity/rank.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ async function computeRankForExpression(
135135
const userCount = result.count;
136136
const userPercentage = ((userCount / totalCount) * 100).toFixed(2);
137137

138-
const rankIcon = userRank === 1 ? "- 1." : userRank === 2 ? "- 🥈" : userRank === 3 ? "- 🥉" : `- ${userRank}.`;
138+
const rankIcon = userRank === 1 ? "- 🥇" : userRank === 2 ? "- 🥈" : userRank === 3 ? "- 🥉" : `- ${userRank}.`;
139139
return `${rankIcon} ${userName} (${userPercentage}%)`;
140140
})
141141
.join("\n");

0 commit comments

Comments
 (0)