Changed default number name from big to large, added nums to short commands.

This commit is contained in:
Niels Simenon
2023-04-10 16:50:39 +02:00
parent 6c5fd6ed0a
commit 2860630921
2 changed files with 13 additions and 13 deletions

View File

@@ -174,7 +174,7 @@ function onMessage(message, context) {
}
if (game?.state === 'letters') {
const multi = message.body.match(/\b[vc]{2,}\b/i)?.[0];
const multi = message.body.match(/\b[vc]{2,}$/i)?.[0];
if (multi) {
pickLetters(multi.toLowerCase(), context);