add showResourceChannels (#327)

This commit is contained in:
VR 2025-08-05 18:48:29 -04:00 • committed by GitHub
parent 4d6c52a9a0
commit ab7dce0847
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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&&"
}]
}]
});