mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 06:58:24 +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) {
|
if (!char || !char.name) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if ([1, 0].includes(Cfg.get('originalPic') * 1)) {
|
if ([1, 0, 4].includes(Cfg.get('originalPic') * 1)) {
|
||||||
e.reply('已禁止获取面板图列表')
|
e.reply('已禁止获取面板图列表')
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
@ -181,8 +181,8 @@ export const cfgSchema = {
|
|||||||
key: '原图',
|
key: '原图',
|
||||||
type: 'num',
|
type: 'num',
|
||||||
def: 3,
|
def: 3,
|
||||||
input: (n) => Math.min(3, Math.max(n * 1 || 0, 0)),
|
input: (n) => Math.min(4, Math.max(n * 1 || 0, 0)),
|
||||||
desc: '允许获取原图,0:不允许, 1:仅允许角色图, 2:仅允许面板图, 3:开启'
|
desc: '允许获取原图,0:不允许, 1:仅允许角色图, 2:仅允许面板图, 3:开启, 4:仅不允许获取面板图列表'
|
||||||
},
|
},
|
||||||
commaGroup: {
|
commaGroup: {
|
||||||
title: '数字逗号分组',
|
title: '数字逗号分组',
|
||||||
|
Loading…
Reference in New Issue
Block a user