From ab788b85e9cdc9f2abb6f4ab5722f10ad21c0baf Mon Sep 17 00:00:00 2001 From: 1-6 Date: Sat, 29 Jul 2023 22:14:05 +0800 Subject: [PATCH] x --- core/common/function.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/common/function.go b/core/common/function.go index 762321c..e6d98a7 100644 --- a/core/common/function.go +++ b/core/common/function.go @@ -13,7 +13,7 @@ type Function struct { Handle func(Sender, func(vm *goja.Runtime)) interface{} `json:"-"` Cron map[string]string `json:"cron"` Priority int `json:"-"` - Disable bool `json:"-"` + Disable bool `json:"disable"` Hidden bool `json:"-"` CronIds []int `json:"-"` Origin string `json:"-"`