Skip to content

Commit 08493a9

Browse files
committed
Format username list nicer
1 parent d0c7e27 commit 08493a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ app.command("/sock-board", async ({ ack, body, client, logger }) => {
547547
? ":third_place_medal:"
548548
: "";
549549

550-
return `${medal} ${clan_name}: ${(total_seconds_coded / 60 / 60).toFixed(1)} hours (\`${usernames}\`)`;
550+
return `${medal} ${clan_name}: ${(total_seconds_coded / 60 / 60).toFixed(1)} hours (${usernames.map((u) => `\`@${u}\``).join(" & ")})`;
551551
},
552552
);
553553

0 commit comments

Comments
 (0)