Fix Broken Patches & Conflict

This commit is contained in:
thororen1234 2026-07-21 20:02:48 -04:00
parent a654b1ca06
commit 6e104de4fa
No known key found for this signature in database
3 changed files with 9 additions and 7 deletions

View file

@ -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)"
},
]
},
],

View file

@ -202,7 +202,7 @@ export default definePlugin({
predicate: () => getQuestifySettings().disableQuestsEverything,
replacement: [
{
match: /(?<="family-center"\):null,)/,
match: /(?<="family-center"\).{0,15}:null,)/,
replace: "null&&"
}
]

View file

@ -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?[]:"
}
]