2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-22 19:10:53 +08:00
This commit is contained in:
Ctrlcvs 2022-10-31 14:20:06 +08:00
parent 31eee4c8ca
commit e2af245be6

View File

@ -38,6 +38,14 @@ export default class note {
this.e.reply("体力推送开启成功~\n后续每天会为您推送体力")
}
delNote() {
if (!this.noteCfg[this.e.group_id]) { //首次直接设置
this.noteCfg[this.e.group_id] = {
"task": [],
"isTask": true,
"sendResin": 120
}
this.saveNote(this.noteCfg)
}
try {
if (this.noteCfg[this.e.group_id]) {
if (!this.isTaskAdmin()) return true;