Fix Broken Patches

This commit is contained in:
thororen1234 2026-07-08 17:28:45 -04:00
parent 447910b6c1
commit 434814340b
No known key found for this signature in database
2 changed files with 5 additions and 5 deletions

View file

@ -59,14 +59,14 @@ export default definePlugin({
{
find: '.CUSTOM_GIFT?""',
replacement: [
{
match: /message:(\i),message:\{id:\i\}.{0,200}renderContentOnly:\i.{0,30}\}=\i;/,
replace: "$&$1=$self.transformMessage($1);",
},
{
match: /childrenMessageContent:(\i),/g,
replace: "childrenMessageContent:$self.wrapContent($1,arguments[0].message.id),",
},
{
match: /\i\.memo\(function\((\i)\)\{(?=let \i,\i)/,
replace: "$&e.message=$self.transformMessage($1);",
},
],
},
],

View file

@ -34,7 +34,7 @@ export default definePlugin({
find: '("UserProfileModalV2EditingPanel")',
replacement: [
{
match: /function (\i).{0,50}showNitroIcon:.{0,450}\}\),\i\]\}\)\}/,
match: /function (\i).{0,50}showNitroIcon:.{0,500}\}\),\i\]\}\)\}/,
replace: "$&$self.setNewCustomizationSection($1);"
}
]