Skip to content

Commit 204e96f

Browse files
committed
convert username to user mentions
1 parent f0f2a1d commit 204e96f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/games/connectFour.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ export class ConnectFourGame {
341341
.setTitle('Connect4')
342342
.setDescription(
343343
`
344-
${this.state.player1Username} vs. ${this.state.player2Username}
344+
<@${this.state.player1Id}> vs. ${this.state.player2Username}
345345
`,
346346
)
347347
.addFields([
@@ -350,7 +350,7 @@ ${this.state.player1Username} vs. ${this.state.player2Username}
350350
value: `
351351
${this.getStatusAsString()}
352352
353-
${this.state.player1Username}: ${getEmojiFromSign(this.state.player1Sign)}
353+
<@${this.state.player1Id}>: ${getEmojiFromSign(this.state.player1Sign)}
354354
${this.state.player2Username}: ${getEmojiFromSign(this.state.player2Sign)}
355355
`,
356356
},

0 commit comments

Comments
 (0)