We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ca260b commit 88c2e99Copy full SHA for 88c2e99
src/components/games/connectFour.ts
@@ -318,13 +318,13 @@ export class ConnectFourGame {
318
return (
319
'**' +
320
getStateAsString(this.state) +
321
- `\n${this.state.player1Username} has won with a ${this.parseWin(this.state)} connect 4!**`
+ `\n<@${this.state.player1Id}> has won with a ${this.parseWin(this.state)} connect 4!**`
322
);
323
case ConnectFourGameStatus.Player2Win:
324
325
326
327
- `\n${this.state.player2Username} has won with a ${this.parseWin(this.state)} connect 4**`
+ `\n${this.state.player2Username} has won with a ${this.parseWin(this.state)} connect 4!**`
328
329
case ConnectFourGameStatus.Draw:
330
return `The match ended in a draw!`;
0 commit comments