SHC: Fix Again

This commit is contained in:
thororen1234 2026-02-17 20:16:24 -05:00
parent 23660620b1
commit 88ba491eac
No known key found for this signature in database

View file

@ -464,7 +464,7 @@ export default definePlugin({
find: '"channel_mention"});', find: '"channel_mention"});',
replacement: { replacement: {
// Show inside voice channel instead of trying to join them when clicking on a channel mention // Show inside voice channel instead of trying to join them when clicking on a channel mention
match: /(?<=getChannel\(\i\);if\(null!=(\i))(?=.{0,100}?selectVoiceChannel)/, match: /(?<=getChannel\(\i\);if\(null!=(\i))(?=.{0,150}?selectVoiceChannel)/,
replace: (_, channel) => `&&!$self.isHiddenChannel(${channel})` replace: (_, channel) => `&&!$self.isHiddenChannel(${channel})`
} }
}, },