diff --git a/src/equicordplugins/musicControls/index.tsx b/src/equicordplugins/musicControls/index.tsx index a46c3073f..0054b321b 100644 --- a/src/equicordplugins/musicControls/index.tsx +++ b/src/equicordplugins/musicControls/index.tsx @@ -52,10 +52,10 @@ export default definePlugin({ patches: [ { - find: ".NITRO_PRIVACY_PERK_BETA_COACHMARK));", + find: ".WIDGETS_RTC_UPSELL_COACHMARK),", replacement: { // react.jsx)(AccountPanel, { ..., showTaglessAccountPanel: blah }) - match: /(?<=\i\.jsxs?\)\()(\i),{(?=[^}]*?userTag:\i,(occluded|hidePrivateData):)/, + match: /(?<=\i\.jsxs?\)\()(\i),{(?=[^}]*?userTag:\i,occluded:)/, // react.jsx(WrapperComponent, { VencordOriginal: AccountPanel, ... replace: "$self.PanelWrapper,{VencordOriginal:$1," }, diff --git a/src/plugins/accountPanelServerProfile/index.tsx b/src/plugins/accountPanelServerProfile/index.tsx index af19dfa5d..b1304e3fa 100644 --- a/src/plugins/accountPanelServerProfile/index.tsx +++ b/src/plugins/accountPanelServerProfile/index.tsx @@ -75,7 +75,7 @@ export default definePlugin({ patches: [ { - find: ".NITRO_PRIVACY_PERK_BETA_COACHMARK));", + find: ".WIDGETS_RTC_UPSELL_COACHMARK)", group: true, replacement: [ { diff --git a/src/plugins/betterSettings/index.tsx b/src/plugins/betterSettings/index.tsx index e33178043..c13a4a466 100644 --- a/src/plugins/betterSettings/index.tsx +++ b/src/plugins/betterSettings/index.tsx @@ -127,7 +127,7 @@ export default definePlugin({ predicate: () => settings.store.disableFade }, { // Load menu TOC eagerly - find: ".NITRO_PRIVACY_PERK_BETA_COACHMARK));", + find: "handleOpenSettingsContextMenu=", replacement: { match: /(?=handleOpenSettingsContextMenu=.{0,100}?null!=\i&&.{0,100}?(await [^};]*?\)\)))/, replace: "_vencordBetterSettingsEagerLoad=(async ()=>$1)();" diff --git a/src/plugins/decor/index.tsx b/src/plugins/decor/index.tsx index 8f8998675..a3f5ca1a4 100644 --- a/src/plugins/decor/index.tsx +++ b/src/plugins/decor/index.tsx @@ -87,7 +87,7 @@ export default definePlugin({ }, // Current user area, at bottom of channels/dm list { - find: ".NITRO_PRIVACY_PERK_BETA_COACHMARK));", + find: ".WIDGETS_RTC_UPSELL_COACHMARK),", replacement: [ // Use Decor avatar decoration hook { diff --git a/src/plugins/showHiddenChannels/index.tsx b/src/plugins/showHiddenChannels/index.tsx index 3cc27e81b..85b9b3ddf 100644 --- a/src/plugins/showHiddenChannels/index.tsx +++ b/src/plugins/showHiddenChannels/index.tsx @@ -461,11 +461,11 @@ export default definePlugin({ }, }, { - find: '"channel_mention"});', + find: 'getConfig({location:"channel_mention"})', replacement: { // Show inside voice channel instead of trying to join them when clicking on a channel mention - match: /(?<=getChannel\(\i\);if\(null!=(\i))(?=.{0,150}?selectVoiceChannel)/, - replace: (_, channel) => `&&!$self.isHiddenChannel(${channel})` + match: /(?<=getChannel\(\i\);if\(null!=(\i)).{0,200}?return void (?=\i\.default\.selectVoiceChannel)/, + replace: (m, channel) => `${m}!$self.isHiddenChannel(${channel})&&` } }, { diff --git a/src/plugins/typingTweaks/index.tsx b/src/plugins/typingTweaks/index.tsx index f4b833693..1b72581d3 100644 --- a/src/plugins/typingTweaks/index.tsx +++ b/src/plugins/typingTweaks/index.tsx @@ -122,7 +122,7 @@ export default definePlugin({ patches: [ { - find: "#{intl::Q8lUnE::raw}", + find: "#{intl::SEVERAL_USERS_TYPING_STRONG}", group: true, replacement: [ {