diff --git a/src/plugins/settings.tsx b/src/plugins/settings.tsx index 2201ece1b..3ea5a4332 100644 --- a/src/plugins/settings.tsx +++ b/src/plugins/settings.tsx @@ -82,6 +82,8 @@ export default definePlugin({ } }], + customSections: [] as ((ID: Record) => any)[], + makeSettingsCategories({ ID }: { ID: Record; }) { return [ { @@ -123,11 +125,13 @@ export default definePlugin({ label: "Patch Helper", element: require("@components/VencordSettings/PatchHelperTab").default, }, + // TODO: make this use customSections IS_VENCORD_DESKTOP && { section: "VencordDesktop", label: "Desktop Settings", element: VencordDesktop.Components.Settings, }, + ...this.customSections.map(func => func(ID)), { section: ID.DIVIDER }