删注释

This commit is contained in:
Qian23333 2025-08-16 10:03:26 +08:00
parent ae91676a89
commit 3823ca8811

View file

@ -9,9 +9,6 @@ export async function setGlobalRemind() {
const match = this.e.msg.match(/设置全局提醒时间\s*(每日\d+时|每周.\d+时)/); const match = this.e.msg.match(/设置全局提醒时间\s*(每日\d+时|每周.\d+时)/);
if (!match) return; if (!match) return;
const remindTime = match[1]; const remindTime = match[1];
// 使用 setSingleConfig 更新特定字段
settings.setSingleConfig('remind', 'globalRemindTime', remindTime); settings.setSingleConfig('remind', 'globalRemindTime', remindTime);
await this.reply(`全局提醒时间已更新为: ${remindTime}`); await this.reply(`全局提醒时间已更新为: ${remindTime}`);
} }