Updated SChat color styling. Censoring answers in Mash hints. Restored Letters board.
This commit is contained in:
@@ -22,7 +22,7 @@ const games = new Map();
|
||||
function getBoard(context) {
|
||||
const game = games.get(context.room.id);
|
||||
|
||||
return `${style.grey('[')} ${game.word.split('').concat(Array.from({ length: config.letters.length - game.word.length })).map((letter) => style.bold(letter?.toUpperCase()) || ' ').join(style.grey(' | '))} ${style.grey(']')}`; // eslint-disable-line no-irregular-whitespace
|
||||
return `${style.grey('[')}${game.word.split('').concat(Array.from({ length: config.letters.length - game.word.length })).map((letter) => style.bold(letter?.toUpperCase()) || ' ').join(style.grey('|'))}${style.grey(']')}`; // eslint-disable-line no-irregular-whitespace
|
||||
}
|
||||
|
||||
function countLetters(word) {
|
||||
|
||||
Reference in New Issue
Block a user