/* * 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 { TextButton } from "@components/Button"; import { Margins } from "@utils/margins"; import { classes } from "@utils/misc"; import { OptionType } from "@utils/types"; import { Forms, SettingsRouter } from "@webpack/common"; import DecorPlugin from "."; import DecorSection from "./ui/components/DecorSection"; export const settings = definePluginSettings({ changeDecoration: { type: OptionType.COMPONENT, component({ closePluginSettings }) { if (!DecorPlugin.started) return Enable Decor and restart your client to change your avatar decoration. ; return
You can also access Decor decorations from the { closePluginSettings(); SettingsRouter.openUserSettings("profile_panel"); }} >Profiles page.
; } }, agreedToGuidelines: { type: OptionType.BOOLEAN, description: "Agreed to guidelines", hidden: true, default: false } });