GoonCord/src/core/plugins/quickinstall/index.ts
2024-07-30 20:42:10 +08:00

21 lines
526 B
TypeScript

import { defineCorePlugin } from "..";
import patchForumPost from "./forumPost";
import patchUrl from "./url";
let patches = [] as (() => unknown)[];
export default defineCorePlugin({
manifest: {
id: "bunny.quickinstall",
name: "QuickInstall",
version: "1.0.0",
description: "Quickly install Vendetta plugins and themes",
authors: ["pyoncord"]
},
start() {
patches = [patchForumPost(), patchUrl()];
},
stop() {
patches.forEach(p => p());
}
});