mirror of
https://github.com/syuilo/ai.git
synced 2024-12-22 08:21:08 +00:00
Update serif
This commit is contained in:
parent
0d0872e615
commit
13481451f3
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -85,6 +85,10 @@ export default {
|
|||
remembered: (word) => `${word}`
|
||||
},
|
||||
|
||||
dice: {
|
||||
done: res => `${res} です!`
|
||||
},
|
||||
|
||||
/**
|
||||
* リバーシ
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue