mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-21 14:38:30 +00:00
feat: 仅不允许获取面板图列表
This commit is contained in:
parent
09fddf686d
commit
6d1d56062b
@ -224,7 +224,7 @@ export async function profileImgList (e) {
|
||||
if (!char || !char.name) {
|
||||
return false
|
||||
}
|
||||
if ([1, 0].includes(Cfg.get('originalPic') * 1)) {
|
||||
if ([1, 0, 4].includes(Cfg.get('originalPic') * 1)) {
|
||||
e.reply('已禁止获取面板图列表')
|
||||
return true
|
||||
}
|
||||
|
@ -181,8 +181,8 @@ export const cfgSchema = {
|
||||
key: '原图',
|
||||
type: 'num',
|
||||
def: 3,
|
||||
input: (n) => Math.min(3, Math.max(n * 1 || 0, 0)),
|
||||
desc: '允许获取原图,0:不允许, 1:仅允许角色图, 2:仅允许面板图, 3:开启'
|
||||
input: (n) => Math.min(4, Math.max(n * 1 || 0, 0)),
|
||||
desc: '允许获取原图,0:不允许, 1:仅允许角色图, 2:仅允许面板图, 3:开启, 4:仅不允许获取面板图列表'
|
||||
},
|
||||
commaGroup: {
|
||||
title: '数字逗号分组',
|
||||
|
Loading…
Reference in New Issue
Block a user