mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-07-02 08:59:59 +09:00
リファクタリングなど
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user