Changed symbol for 6> faced dice.
This commit is contained in:
parent
a807cbc2aa
commit
1212261b21
|
@ -37,7 +37,7 @@ function onCommand(args, context) {
|
||||||
return `${style.yellow(`(${coinFaces[result - 1]})`)} ${style.bold(result === 1 ? 'heads' : 'tails')}`; // eslint-disable-line no-irregular-whitespace
|
return `${style.yellow(`(${coinFaces[result - 1]})`)} ${style.bold(result === 1 ? 'heads' : 'tails')}`; // eslint-disable-line no-irregular-whitespace
|
||||||
}
|
}
|
||||||
|
|
||||||
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(style.grey(' | ')), context.room.id, { label: type });
|
context.sendMessage(results.join(style.grey(' | ')), context.room.id, { label: type });
|
||||||
|
|
Loading…
Reference in New Issue