* add inviteDefaults plugin * Update index.ts * add selfForward plugin --------- Co-authored-by: thororen <78185467+thororen1234@users.noreply.github.com>
23 lines
589 B
TypeScript
23 lines
589 B
TypeScript
/*
|
|
* 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: "]"
|
|
}]
|
|
}
|
|
]
|
|
});
|