Changed fallback die face.
This commit is contained in:
parent
e161767828
commit
4d324993fd
|
@ -25,7 +25,7 @@ function onCommand(args, context) {
|
||||||
const result = crypto.randomInt(1, faces);
|
const result = crypto.randomInt(1, faces);
|
||||||
|
|
||||||
// using U+2003 Em Space after dice to create double space that doesn't get filtered in SChat
|
// 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);
|
context.sendMessage(results.join(' | '), context.room.id);
|
||||||
|
|
Loading…
Reference in New Issue