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

26 lines
711 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: "ShowResourceChannels",
description: "shows the channels hidden behind the server resources in the channel list",
tags: ["Servers"],
authors: [EquicordDevs.VillainsRule],
patches: [
{
find: ".GUILD_DIRECTORY:null",
replacement: [
{
match: /\i\.hideResourceChannels&&/,
replace: "false&&"
}
]
}
]
});