From 0335e1ca59df34d1e6f689a8adb70d0a1eaf085a Mon Sep 17 00:00:00 2001 From: V Date: Mon, 21 Aug 2023 16:58:45 +0200 Subject: new plugin FixSpotifyEmbeds: less loud embeds --- src/plugins/fixSpotifyEmbeds.desktop.ts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/plugins/fixSpotifyEmbeds.desktop.ts (limited to 'src/plugins') diff --git a/src/plugins/fixSpotifyEmbeds.desktop.ts b/src/plugins/fixSpotifyEmbeds.desktop.ts new file mode 100644 index 0000000..4419912 --- /dev/null +++ b/src/plugins/fixSpotifyEmbeds.desktop.ts @@ -0,0 +1,26 @@ +/* + * 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 { makeRange } from "@components/PluginSettings/components"; +import { Devs } from "@utils/constants"; +import definePlugin, { OptionType } from "@utils/types"; + +// The entire code of this plugin can be found in ipcPlugins +export default definePlugin({ + name: "FixSpotifyEmbeds", + description: "Fixes spotify embeds being incredibly loud by letting you customise the volume", + authors: [Devs.Ven], + settings: definePluginSettings({ + volume: { + type: OptionType.SLIDER, + description: "The volume % to set for spotify embeds. Anything above 10% is veeeery loud", + markers: makeRange(0, 100, 10), + stickToMarkers: false, + default: 10 + } + }) +}); -- cgit