Added all the new config variables for v4.1.0!

This commit is contained in:
DJj123dj
2025-08-05 10:42:15 +02:00
parent adc2433216
commit 549c161830
18 changed files with 455 additions and 86 deletions
+43 -8
View File
@@ -55,21 +55,35 @@ export const defaultGeneralFormatter = new fjs.ObjectFormatter(null,true,[
new fjs.ObjectFormatter("status",true,[
new fjs.PropertyFormatter("enabled"),
new fjs.PropertyFormatter("type"),
new fjs.PropertyFormatter("mode"),
new fjs.PropertyFormatter("text"),
new fjs.PropertyFormatter("status"),
new fjs.PropertyFormatter("state"),
]),
new fjs.TextFormatter(""),
new fjs.ObjectFormatter("system",true,[
new fjs.PropertyFormatter("removeParticipantsOnClose"),
new fjs.PropertyFormatter("replyOnTicketCreation"),
new fjs.PropertyFormatter("replyOnReactionRole"),
new fjs.PropertyFormatter("useTranslatedConfigChecker"),
new fjs.PropertyFormatter("preferSlashOverText"),
new fjs.PropertyFormatter("sendErrorOnUnknownCommand"),
new fjs.PropertyFormatter("questionFieldsInCodeBlock"),
new fjs.PropertyFormatter("displayFieldsWithQuestions"),
new fjs.PropertyFormatter("showGlobalAdminsInPanelRoles"),
new fjs.PropertyFormatter("disableVerifyBars"),
new fjs.PropertyFormatter("useRedErrorEmbeds"),
new fjs.PropertyFormatter("alwaysShowReason"),
new fjs.PropertyFormatter("emojiStyle"),
new fjs.PropertyFormatter("pinEmoji"),
new fjs.TextFormatter(""),
new fjs.PropertyFormatter("replyOnTicketCreation"),
new fjs.PropertyFormatter("replyOnReactionRole"),
new fjs.PropertyFormatter("showPreAutocloseWarning"),
new fjs.PropertyFormatter("askPriorityOnTicketCreation"),
new fjs.PropertyFormatter("removeParticipantsOnClose"),
new fjs.PropertyFormatter("disableAutocloseAfterReopen"),
new fjs.PropertyFormatter("autodeleteRequiresClosedTicket"),
new fjs.PropertyFormatter("adminOnlyDeleteWithoutTranscript"),
new fjs.PropertyFormatter("allowCloseBeforeMessage"),
new fjs.PropertyFormatter("allowCloseBeforeAdminMessage"),
new fjs.PropertyFormatter("useTranslatedConfigChecker"),
new fjs.PropertyFormatter("pinFirstTicketMessage"),
new fjs.TextFormatter(""),
new fjs.PropertyFormatter("enableTicketClaimButtons"),
new fjs.PropertyFormatter("enableTicketCloseButtons"),
@@ -89,6 +103,18 @@ export const defaultGeneralFormatter = new fjs.ObjectFormatter(null,true,[
new fjs.PropertyFormatter("userMaximum"),
]),
new fjs.TextFormatter(""),
new fjs.ObjectFormatter("channelTopic",true,[
new fjs.PropertyFormatter("showOptionName"),
new fjs.PropertyFormatter("showOptionDescription"),
new fjs.PropertyFormatter("showOptionTopic"),
new fjs.PropertyFormatter("showClosed"),
new fjs.PropertyFormatter("showClaimed"),
new fjs.PropertyFormatter("showPinned"),
new fjs.PropertyFormatter("showPriority"),
new fjs.PropertyFormatter("showCreator"),
new fjs.PropertyFormatter("showParticipants"),
]),
new fjs.TextFormatter(""),
new fjs.ObjectFormatter("permissions",true,[
new fjs.PropertyFormatter("help"),
new fjs.PropertyFormatter("panel"),
@@ -109,6 +135,9 @@ export const defaultGeneralFormatter = new fjs.ObjectFormatter(null,true,[
new fjs.PropertyFormatter("clear"),
new fjs.PropertyFormatter("autoclose"),
new fjs.PropertyFormatter("autodelete"),
new fjs.PropertyFormatter("transfer"),
new fjs.PropertyFormatter("topic"),
new fjs.PropertyFormatter("priority"),
]),
new fjs.TextFormatter(""),
new fjs.ObjectFormatter("messages",true,[
@@ -123,8 +152,10 @@ export const defaultGeneralFormatter = new fjs.ObjectFormatter(null,true,[
new fjs.DefaultFormatter("renaming",false),
new fjs.DefaultFormatter("moving",false),
new fjs.DefaultFormatter("blacklisting",false),
new fjs.DefaultFormatter("roleAdding",false),
new fjs.DefaultFormatter("roleRemoving",false),
new fjs.DefaultFormatter("transferring",false),
new fjs.DefaultFormatter("topicChange",false),
new fjs.DefaultFormatter("priorityChange",false),
new fjs.DefaultFormatter("reactionRole",false)
]),
]),
])
@@ -187,7 +218,7 @@ export const defaultOptionsFormatter = new fjs.ArrayFormatter(null,true,new fjs.
new fjs.PropertyFormatter("user"),
new fjs.PropertyFormatter("category"),
])),
new fjs.PropertyFormatter("description"),
new fjs.PropertyFormatter("topic"),
]),
new fjs.TextFormatter(""),
new fjs.ObjectFormatter("dmMessage",true,[
@@ -254,6 +285,10 @@ export const defaultOptionsFormatter = new fjs.ArrayFormatter(null,true,new fjs.
new fjs.PropertyFormatter("globalMaximum"),
new fjs.PropertyFormatter("userMaximum"),
]),
new fjs.ObjectFormatter("slowMode",true,[
new fjs.PropertyFormatter("enabled"),
new fjs.PropertyFormatter("slowModeSeconds"),
]),
])},
{key:"type",value:"website",formatter:new fjs.ObjectFormatter(null,true,[
new fjs.PropertyFormatter("id"),