add showResourceChannels (#327)
This commit is contained in:
parent
4d6c52a9a0
commit
ab7dce0847
1 changed files with 21 additions and 0 deletions
21
src/equicordplugins/showResourceChannels/index.ts
Normal file
21
src/equicordplugins/showResourceChannels/index.ts
Normal 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&&"
|
||||
}]
|
||||
}]
|
||||
});
|
||||
Loading…
Add table
Reference in a new issue