From 6e104de4fa25addcf2bac9dce60a85aed79dfc67 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Tue, 21 Jul 2026 20:02:48 -0400 Subject: [PATCH] Fix Broken Patches & Conflict --- src/equicordplugins/betterInvites/index.tsx | 12 +++++++----- src/equicordplugins/questify/index.tsx | 2 +- src/plugins/silentTyping/index.tsx | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/equicordplugins/betterInvites/index.tsx b/src/equicordplugins/betterInvites/index.tsx index 30cb929cd..22d03a783 100644 --- a/src/equicordplugins/betterInvites/index.tsx +++ b/src/equicordplugins/betterInvites/index.tsx @@ -50,15 +50,17 @@ export default definePlugin({ find: "isBannerVisible:!1})},", replacement: [ { - // make the button clickable match: /children:(\i)\.name\}\)\}\)\}\)/, replace: "onClick:$self.Lurkable($1),$&" }, { - // tip gets inserted in the name container, header gets inserted beside it - match: /(:(\i),disableGuildNameClick:.{0,20}\}\),\i)(\]\}\))/, - replace: "$1,$self.RenderTip(arguments[0].invite?.expires_at)$3,$self.Header(arguments[0].invite?.inviter,$2.name)" - } + match: /(profile:\i\}\))/, + replace: "$1,$self.RenderTip(arguments[0]?.invite?.expires_at)" + }, + { + match: /(?<=\]\}\),)(?=.{0,15}onlineCount:\i\.onlineCount)/, + replace: "$self.Header(arguments[0]?.invite?.inviter,arguments[0]?.profile?.name)" + }, ] }, ], diff --git a/src/equicordplugins/questify/index.tsx b/src/equicordplugins/questify/index.tsx index 11305407b..2a059a9bd 100644 --- a/src/equicordplugins/questify/index.tsx +++ b/src/equicordplugins/questify/index.tsx @@ -202,7 +202,7 @@ export default definePlugin({ predicate: () => getQuestifySettings().disableQuestsEverything, replacement: [ { - match: /(?<="family-center"\):null,)/, + match: /(?<="family-center"\).{0,15}:null,)/, replace: "null&&" } ] diff --git a/src/plugins/silentTyping/index.tsx b/src/plugins/silentTyping/index.tsx index 062edda1c..2cc647a6e 100644 --- a/src/plugins/silentTyping/index.tsx +++ b/src/plugins/silentTyping/index.tsx @@ -447,7 +447,7 @@ export default definePlugin({ replace: "const silentTypingShouldHideChatBarTypingIndicators=$self.shouldHideChatBarTypingIndicators();$1" }, { - match: /("stop-animation".{0,80}?ref:\i,children:)/, + match: /("stop-animation".{0,100}?ref:\i,children:)/, replace: "$1silentTypingShouldHideChatBarTypingIndicators?[]:" } ]