/* * Vencord, a Discord client mod * Copyright (c) 2025 Vendicated and contributors * SPDX-License-Identifier: GPL-3.0-or-later */ import { definePluginSettings } from "@api/Settings"; import { OptionType } from "@utils/types"; export const settings = definePluginSettings({ showChatButton: { type: OptionType.BOOLEAN, default: true, description: "Whether you want to display the chat button", restartNeeded: true, }, showMuteButton: { type: OptionType.BOOLEAN, default: true, description: "Whether you want to display the mute button", restartNeeded: true, }, showDeafenButton: { type: OptionType.BOOLEAN, default: true, description: "Whether you want to display the deafen button", restartNeeded: true, }, muteSoundboard: { type: OptionType.BOOLEAN, default: true, description: "Toggles their soundboard upon clicking deafen button.", restartNeeded: false, }, disableVideo: { type: OptionType.BOOLEAN, default: true, description: "Toggles their video upon clicking deafen button.", restartNeeded: false, }, showButtonsSelf: { type: OptionType.SELECT, default: "display", description: "Whether you want to display buttons for your own user. Same functionality as other button(s) except it'll open DMs panel and mute/deafen for yourself upon clicking button(s).", restartNeeded: true, options: [ { label: "Display", value: "display" }, { label: "Hide", value: "hide" }, { label: "Disable", value: "disable" }, ], }, whichNameToShow: { type: OptionType.SELECT, default: "both", description: "Choose whether to show nickname or username in tooltip.", restartNeeded: false, options: [ { label: "Global Name", value: "global" }, { label: "Default Username", value: "username" }, { label: "Both", value: "both" }, ], } });