/* * Vencord, a Discord client mod * Copyright (c) 2023 Vendicated and contributors * SPDX-License-Identifier: GPL-3.0-or-later */ import { definePluginSettings } from "@api/Settings"; import { Link } from "@components/Link"; import { Margins } from "@utils/margins"; import { classes } from "@utils/misc"; import { closeAllModals } from "@utils/modal"; import { OptionType } from "@utils/types"; import { FluxDispatcher, Forms } from "@webpack/common"; import DecorSection from "./ui/components/DecorSection"; export const settings = definePluginSettings({ changeDecoration: { type: OptionType.COMPONENT, description: "Change your avatar decoration", component() { if (!Vencord.Plugins.plugins.Decor.started) return Enable Decor and restart your client to change your avatar decoration. ; return
You can also access Decor decorations from the { e.preventDefault(); closeAllModals(); FluxDispatcher.dispatch({ type: "USER_SETTINGS_MODAL_SET_SECTION", section: "Profile Customization" }); }} >Profiles page.
; } }, agreedToGuidelines: { type: OptionType.BOOLEAN, description: "Agreed to guidelines", hidden: true, default: false } });