mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-07-02 09:49:59 +09:00
Refactor
This commit is contained in:
@ -35,7 +35,7 @@ export default class TimerModule implements IModule {
|
||||
const str = `${hours ? hoursQuery[0] : ''}${minutes ? minutesQuery[0] : ''}${seconds ? secondsQuery[0] : ''}`;
|
||||
|
||||
setTimeout(() => {
|
||||
const name = this.ai.getName(msg.userId);
|
||||
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)
|
||||
});
|
||||
|
Reference in New Issue
Block a user