mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-14 00:20:06 +08:00
Config提供type字段确定配置项类型
This commit is contained in:
@@ -37,11 +37,13 @@ __plugin_configs__ = {
|
||||
"value": True,
|
||||
"help": "当请求连续三次失败时,关闭用户的树脂提醒",
|
||||
"default_value": True,
|
||||
"type": bool,
|
||||
},
|
||||
"CUSTOM_RESIN_OVERFLOW_REMIND": {
|
||||
"value": 20,
|
||||
"help": "自定义树脂溢出指定数量时的提醒,空值是为关闭",
|
||||
"default_value": None,
|
||||
"type": int,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user