Equicord/src/equicordplugins/selfForward/index.ts
2026-04-16 13:45:58 -04:00

24 lines
612 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",
tags: ["Utility"],
authors: [EquicordDevs.VillainsRule],
patches: [
{
find: ".getChannelHistory(),",
replacement: [{
match: /\i.id\]/,
replace: "]"
}]
}
]
});