Fix Broken Patches & Conflict
This commit is contained in:
parent
a654b1ca06
commit
6e104de4fa
3 changed files with 9 additions and 7 deletions
|
|
@ -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)"
|
||||
},
|
||||
]
|
||||
},
|
||||
],
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ export default definePlugin({
|
|||
predicate: () => getQuestifySettings().disableQuestsEverything,
|
||||
replacement: [
|
||||
{
|
||||
match: /(?<="family-center"\):null,)/,
|
||||
match: /(?<="family-center"\).{0,15}:null,)/,
|
||||
replace: "null&&"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -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?[]:"
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue