diff --git a/src/modules/dice/index.ts b/src/modules/dice/index.ts index c307ca7..e3753f8 100644 --- a/src/modules/dice/index.ts +++ b/src/modules/dice/index.ts @@ -1,6 +1,7 @@ import 藍 from '../../ai'; import IModule from '../../module'; import MessageLike from '../../message-like'; +import serifs from '../../serifs'; export default class DiceModule implements IModule { public readonly name = 'dice'; @@ -29,7 +30,7 @@ export default class DiceModule implements IModule { results.push(Math.floor(Math.random() * dice) + 1); } - msg.reply(results.join(' ')); + msg.reply(serifs.dice.done(results.join(' '))); return true; } diff --git a/src/serifs.ts b/src/serifs.ts index 94b75b2..02bc397 100644 --- a/src/serifs.ts +++ b/src/serifs.ts @@ -85,6 +85,10 @@ export default { remembered: (word) => `${word}` }, + dice: { + done: res => `${res} です!` + }, + /** * リバーシ */