From ab7dce0847399d12f3817f4cadad5e3f86cc5740 Mon Sep 17 00:00:00 2001 From: VR <101288516+VillainsRule@users.noreply.github.com> Date: Tue, 5 Aug 2025 18:48:29 -0400 Subject: [PATCH] add showResourceChannels (#327) --- .../showResourceChannels/index.ts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/equicordplugins/showResourceChannels/index.ts diff --git a/src/equicordplugins/showResourceChannels/index.ts b/src/equicordplugins/showResourceChannels/index.ts new file mode 100644 index 000000000..fbba862ee --- /dev/null +++ b/src/equicordplugins/showResourceChannels/index.ts @@ -0,0 +1,21 @@ +/* + * 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: "ShowResourceChannels", + description: "shows the channels hidden behind the server resources in the channel list", + authors: [EquicordDevs.VillainsRule], + patches: [{ + find: '"should_show_in_recents"', + replacement: [{ + match: /\i\.hideResourceChannels&&/, + replace: "false&&" + }] + }] +});