mirror of
https://github.com/Sqaaakoi/vc-newPluginsManager.git
synced 2024-11-16 22:54:37 -05:00
29 lines
858 B
TypeScript
29 lines
858 B
TypeScript
/*
|
|
* Vencord, a Discord client mod
|
|
* Copyright (c) 2024 Vendicated and contributors
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
|
|
import { Devs } from "@utils/constants";
|
|
import definePlugin from "@utils/types";
|
|
|
|
import * as KnownSettings from "./knownSettings";
|
|
import { KNOWN_PLUGINS_LEGACY_DATA_KEY, KNOWN_SETTINGS_DATA_KEY } from "./knownSettings";
|
|
import { openNewPluginsModal } from "./NewPluginsModal";
|
|
|
|
export default definePlugin({
|
|
name: "NewPluginsManager",
|
|
description: "Utility that notifies you when new plugins are added to Vencord",
|
|
authors: [Devs.Sqaaakoi],
|
|
enabledByDefault: true, // This is intentional.
|
|
flux: {
|
|
async POST_CONNECTION_OPEN() {
|
|
openNewPluginsModal();
|
|
}
|
|
},
|
|
openNewPluginsModal,
|
|
KNOWN_PLUGINS_LEGACY_DATA_KEY,
|
|
KNOWN_SETTINGS_DATA_KEY,
|
|
KnownSettings
|
|
});
|