v3.2.2 push 2

This commit is contained in:
DJj123dj
2023-02-24 15:02:53 +01:00
parent dc14a39c4e
commit 4702c633ec
5 changed files with 22 additions and 5 deletions
+9
View File
@@ -237,6 +237,14 @@ exports.checker = async () => {
createError("'"+path+"/thumbnail' | there is no thumbnail object!")
}
//image
if (option.image){
checkType(option.image.enable,"boolean",path+"/image/enable")
checkType(option.image.url,"string",path+"/image/url")
}else{
createError("'"+path+"/image' | there is no image object!")
}
//closedCategory
if (option.closedCategory){
checkType(option.closedCategory.enable,"boolean",path/"/closedCategory/enable")
@@ -453,6 +461,7 @@ exports.checker = async () => {
}
checkType(config.system.showSlashcmdsInHelp,"boolean","system/showSlashcmdsInHelp")
checkType(config.system.answerInEphemeralOnOpen,"boolean","system/answerInEphemeralOnOpen")
//options