diff --git a/src/plugins/accountPanelServerProfile/index.tsx b/src/plugins/accountPanelServerProfile/index.tsx index 0f8488cd4..48a402c62 100644 --- a/src/plugins/accountPanelServerProfile/index.tsx +++ b/src/plugins/accountPanelServerProfile/index.tsx @@ -67,7 +67,7 @@ export default definePlugin({ patches: [ { - find: "#{intl::ACCOUNT_SPEAKING_WHILE_MUTED}", + find: ".WIDGETS_RTC_UPSELL_COACHMARK)", group: true, replacement: [ { diff --git a/src/plugins/betterSettings/index.tsx b/src/plugins/betterSettings/index.tsx index 772683522..60398339b 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: "#{intl::USER_SETTINGS_WITH_BUILD_OVERRIDE}", + 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 abf5ea460..fe3a5f2eb 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: "#{intl::ACCOUNT_SPEAKING_WHILE_MUTED}", + find: ".WIDGETS_RTC_UPSELL_COACHMARK),", replacement: [ // Use Decor avatar decoration hook { diff --git a/src/plugins/gameActivityToggle/index.tsx b/src/plugins/gameActivityToggle/index.tsx index 832a59fc7..a6d98746f 100644 --- a/src/plugins/gameActivityToggle/index.tsx +++ b/src/plugins/gameActivityToggle/index.tsx @@ -112,7 +112,7 @@ export default definePlugin({ patches: [ { - find: "#{intl::ACCOUNT_SPEAKING_WHILE_MUTED}", + find: ".WIDGETS_RTC_UPSELL_COACHMARK),", replacement: { match: /children:\[(?=.{0,25}?accountContainerRef)/, replace: "children:[$self.GameActivityToggleButton(arguments[0])," diff --git a/src/plugins/showHiddenChannels/index.tsx b/src/plugins/showHiddenChannels/index.tsx index ef857db51..27ded4703 100644 --- a/src/plugins/showHiddenChannels/index.tsx +++ b/src/plugins/showHiddenChannels/index.tsx @@ -438,11 +438,11 @@ export default definePlugin({ }, }, { - find: 'className:"channelMention",children:', + 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\);null!=(\i))(?=.{0,100}?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/spotifyControls/index.tsx b/src/plugins/spotifyControls/index.tsx index f0c003130..45d47299f 100644 --- a/src/plugins/spotifyControls/index.tsx +++ b/src/plugins/spotifyControls/index.tsx @@ -53,10 +53,10 @@ export default definePlugin({ }, patches: [ { - find: "#{intl::ACCOUNT_SPEAKING_WHILE_MUTED}", + find: ".WIDGETS_RTC_UPSELL_COACHMARK),", replacement: { // react.jsx)(AccountPanel, { ..., showTaglessAccountPanel: blah }) - match: /(?<=\i\.jsxs?\)\()(\i),{(?=[^}]*?userTag:\i,hidePrivateData:)/, + match: /(?<=\i\.jsxs?\)\()(\i),{(?=[^}]*?userTag:\i,occluded:)/, // react.jsx(WrapperComponent, { VencordOriginal: AccountPanel, ... replace: "$self.PanelWrapper,{VencordOriginal:$1," } diff --git a/src/plugins/typingTweaks/index.tsx b/src/plugins/typingTweaks/index.tsx index 8b558562b..9e92ce80b 100644 --- a/src/plugins/typingTweaks/index.tsx +++ b/src/plugins/typingTweaks/index.tsx @@ -102,7 +102,7 @@ export default definePlugin({ patches: [ { - find: "#{intl::THREE_USERS_TYPING}", + find: "#{intl::SEVERAL_USERS_TYPING_STRONG}", group: true, replacement: [ {