From 23660620b1b4b8e172f4198c94c7f728b37827b6 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Tue, 17 Feb 2026 20:11:37 -0500 Subject: [PATCH] SHC: Fix Patch --- src/plugins/showHiddenChannels/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/showHiddenChannels/index.tsx b/src/plugins/showHiddenChannels/index.tsx index eb5409e87..bf54bffe7 100644 --- a/src/plugins/showHiddenChannels/index.tsx +++ b/src/plugins/showHiddenChannels/index.tsx @@ -461,10 +461,10 @@ export default definePlugin({ }, }, { - find: 'className:"channelMention",children:', + find: '"channel_mention"});', replacement: { // Show inside voice channel instead of trying to join them when clicking on a channel mention - match: /(?<=getChannel\(\i\);null!=(\i))(?=.{0,100}?selectVoiceChannel)/, + match: /(?<=getChannel\(\i\);if\(null!=(\i))(?=.{0,100}?selectVoiceChannel)/, replace: (_, channel) => `&&!$self.isHiddenChannel(${channel})` } },