From 9fa2ba9c3c898fc20f37eb471bdb0facf016a6b1 Mon Sep 17 00:00:00 2001 From: VR <101288516+VillainsRule@users.noreply.github.com> Date: Tue, 29 Jul 2025 06:09:22 -0400 Subject: [PATCH] add selfForward plugin (#307) * add inviteDefaults plugin * Update index.ts * add selfForward plugin --------- Co-authored-by: thororen <78185467+thororen1234@users.noreply.github.com> --- src/equicordplugins/selfForward/index.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/equicordplugins/selfForward/index.ts diff --git a/src/equicordplugins/selfForward/index.ts b/src/equicordplugins/selfForward/index.ts new file mode 100644 index 000000000..50b5eb0f9 --- /dev/null +++ b/src/equicordplugins/selfForward/index.ts @@ -0,0 +1,23 @@ +/* + * Vencord, a Discord client mod + * Copyright (c) 2025 Vendicated and contributors + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +import { EquicordDevs } from "@utils/constants"; +import definePlugin from "@utils/types"; + +export default definePlugin({ + name: "SelfForward", + description: "adds the current channel to the forward list popup", + authors: [EquicordDevs.VillainsRule], + patches: [ + { + find: ".getChannelHistory(),", + replacement: [{ + match: /\i.id\]/, + replace: "]" + }] + } + ] +});