リファクタリングなど

This commit is contained in:
syuilo
2018-08-29 16:47:07 +09:00
parent 2f14ba690c
commit 7b04c2947e
7 changed files with 66 additions and 69 deletions

View File

@ -37,7 +37,7 @@ export default class TimerModule implements IModule {
setTimeout(() => {
const name = msg.friend.name;
this.ai.sendMessage(msg.userId, {
text: name ? serifs.timer.notifyWithName.replace('{time}', str).replace('{name}', name) : serifs.timer.notify.replace('{time}', str)
text: serifs.timer.notify(str, name)
});
}, time);