mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-22 19:10:53 +08:00
fix
This commit is contained in:
parent
31eee4c8ca
commit
e2af245be6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user