From 4d324993fd71c5a197f25699c1f5d8d567e7772b Mon Sep 17 00:00:00 2001 From: Niels Simenon Date: Mon, 24 Oct 2022 00:50:37 +0200 Subject: [PATCH] Changed fallback die face. --- src/games/dice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/games/dice.js b/src/games/dice.js index 4a3049f..a5dd0fa 100644 --- a/src/games/dice.js +++ b/src/games/dice.js @@ -25,7 +25,7 @@ function onCommand(args, context) { const result = crypto.randomInt(1, faces); // using U+2003 Em Space after dice to create double space that doesn't get filtered in SChat - return `${style.grey(dieFaces[result - 1] || '▦')} ${style.bold(result)}`; // eslint-disable-line no-irregular-whitespace + return `${style.grey(dieFaces[result - 1] || '☐')} ${style.bold(result)}`; // eslint-disable-line no-irregular-whitespace }); context.sendMessage(results.join(' | '), context.room.id);