Added username color to Hunt point award.
This commit is contained in:
parent
435ff3a4b5
commit
89dc51e3e9
|
@ -74,7 +74,7 @@ function playLetter(playedLetter, context) {
|
||||||
renderBoard(context);
|
renderBoard(context);
|
||||||
|
|
||||||
if (game.partial.every((letter) => letter !== null)) {
|
if (game.partial.every((letter) => letter !== null)) {
|
||||||
context.sendMessage(`${style.bold('The word was completed.')} ${context.user.prefixedUsername} gets a point!`, context.room.id);
|
context.sendMessage(`${style.bold('The word was completed.')} ${style.username(context.user.prefixedUsername)} gets a point!`, context.room.id);
|
||||||
context.setPoints(context.user);
|
context.setPoints(context.user);
|
||||||
|
|
||||||
games.delete(context.room.id);
|
games.delete(context.room.id);
|
||||||
|
|
Loading…
Reference in New Issue