mirror of
https://github.com/Sqaaakoi/vc-newPluginsManager.git
synced 2024-11-16 22:54:37 -05:00
26 lines
696 B
TypeScript
26 lines
696 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 { KNOWN_PLUGINS_DATA_KEY } from "./knownPlugins";
|
||
|
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,
|
||
|
flux: {
|
||
|
async POST_CONNECTION_OPEN() {
|
||
|
openNewPluginsModal();
|
||
|
}
|
||
|
},
|
||
|
openNewPluginsModal,
|
||
|
KNOWN_PLUGINS_DATA_KEY
|
||
|
});
|