24 lines
612 B
TypeScript
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: "]"
|
|
}]
|
|
}
|
|
]
|
|
});
|