Added PM support to chat.

This commit is contained in:
Niels Simenon
2023-04-11 00:37:03 +02:00
parent ee50935339
commit da9c85d90c
6 changed files with 76 additions and 33 deletions

View File

@@ -88,7 +88,7 @@ async function play(context) {
game.state = 'words';
game.counts = countLetters(game.word);
context.sendMessage(`${getBoard(context)} You have ${style.bold(style.green(settings.timeout))}, let's start!`, context.room.id);
context.sendMessage(`${getBoard(context)} You have ${style.bold(style.green(settings.timeout))} seconds, let's start!`, context.room.id);
try {
await timers.setTimeout((settings.timeout / 3) * 1000, null, { signal: game.ac.signal });