mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-17 05:37:46 +00:00
删注释
This commit is contained in:
parent
ae91676a89
commit
3823ca8811
1 changed files with 0 additions and 3 deletions
|
|
@ -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}。`);
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue