add selfForward plugin (#307)
* add inviteDefaults plugin * Update index.ts * add selfForward plugin --------- Co-authored-by: thororen <78185467+thororen1234@users.noreply.github.com>
This commit is contained in:
parent
b1f7290a03
commit
9fa2ba9c3c
1 changed files with 23 additions and 0 deletions
23
src/equicordplugins/selfForward/index.ts
Normal file
23
src/equicordplugins/selfForward/index.ts
Normal file
|
|
@ -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: "]"
|
||||
}]
|
||||
}
|
||||
]
|
||||
});
|
||||
Loading…
Add table
Reference in a new issue