added close with reason

This commit is contained in:
DJj123dj
2022-09-03 13:20:00 +02:00
parent c990257c02
commit 69de612d1e
9 changed files with 192 additions and 6 deletions
+1 -1
View File
@@ -260,7 +260,7 @@ exports.checker = async () => {
//languagefile
checkType(config.languagefile,"string","languagefile")
const lf = config.languagefile
if (!lf.startsWith("custom") && !lf.startsWith("english") && !lf.startsWith("dutch") && !lf.startsWith("romanian") && !lf.startsWith("german") && !lf.startsWith("arabic") && !lf.startsWith("spanish")){
if (!lf.startsWith("custom") && !lf.startsWith("english") && !lf.startsWith("dutch") && !lf.startsWith("romanian") && !lf.startsWith("german") && !lf.startsWith("arabic") && !lf.startsWith("spanish") && !lf.startsWith("portuguese")){
createError("'languagefile' | invalid language, more info in the wiki")
}