diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx index 0872c96d5..2ae5239da 100644 --- a/src/components/PluginSettings/index.tsx +++ b/src/components/PluginSettings/index.tsx @@ -40,7 +40,7 @@ import { Alerts, Button, Card, Forms, lodash, Parser, React, Select, Text, TextI import Plugins from "~plugins"; // Avoid circular dependency -const { startDependenciesRecursive, startPlugin, stopPlugin } = proxyLazy(() => require("../../plugins")); +const { startDependenciesRecursive, startPlugin, stopPlugin } = proxyLazy(() => require("../../plugins")) as typeof import("../../plugins"); const cl = classNameFactory("vc-plugins-"); const logger = new Logger("PluginSettings", "#a6d189"); diff --git a/src/components/VencordSettings/ThemesTab.tsx b/src/components/VencordSettings/ThemesTab.tsx index 27e077fdc..bcdef2985 100644 --- a/src/components/VencordSettings/ThemesTab.tsx +++ b/src/components/VencordSettings/ThemesTab.tsx @@ -250,7 +250,7 @@ function ThemesTab() { Edit QuickCSS - {Vencord.Settings.plugins.ClientTheme.enabled && ( + {Vencord.Plugins.isPluginEnabled("ClientTheme") && ( ))} diff --git a/src/webpack/common/types/utils.d.ts b/src/webpack/common/types/utils.d.ts index 03317131d..be43a54b1 100644 --- a/src/webpack/common/types/utils.d.ts +++ b/src/webpack/common/types/utils.d.ts @@ -124,6 +124,7 @@ export type Permissions = "ADD_REACTIONS" | "USE_APPLICATION_COMMANDS" | "USE_CLYDE_AI" | "USE_EMBEDDED_ACTIVITIES" + | "USE_EXTERNAL_APPS" | "USE_EXTERNAL_EMOJIS" | "USE_EXTERNAL_SOUNDS" | "USE_EXTERNAL_STICKERS"