More Fixes

This commit is contained in:
thororen1234 2025-02-11 18:31:16 -05:00
parent 8cc6a73e19
commit 76c540bd73
No known key found for this signature in database
4 changed files with 5 additions and 5 deletions

View file

@ -27,7 +27,7 @@ export default definePlugin({
{
find: '"SystemMessageUtils.stringify(...) could not convert"',
replacement: {
match: /{icon:.*?}/,
match: /{icon:.{0,45}body:\i}/,
replace: "($self.makeTitle($&,...arguments))",
}
},

View file

@ -49,7 +49,7 @@ export default definePlugin({
replace: "$&if(!$self.isPrivateChannelRead(arguments[0]?.message))return;else "
},
{
match: /sound:(\i\?\i:void 0,soundpack:\i,volume:\i,onClick)/,
match: /sound:(\i\?\i.{0,30},onClick)/,
replace: "sound:!$self.isPrivateChannelRead(arguments[0]?.message)?undefined:$1"
}]
}],

View file

@ -158,7 +158,7 @@ export default definePlugin({
{
find: "#{intl::CUSTOM_STATUS_SET_CUSTOM_STATUS}",
replacement: {
match: /\.\i\i,children:.{0,70}\i\.\i\.string\(\i\.\i#{intl::SAVE}\)\}\)/,
match: /\.\i\i,children:\i\.\i\.string\(\i\.\i#{intl::SAVE}\)\}\)/,
replace: "$&,$self.renderRememberButton(this.state)"
}
},

View file

@ -51,8 +51,8 @@ export default definePlugin({
// Guild Banner
find: ".animatedBannerHoverLayer,onMouseEnter:",
replacement: {
match: /(?<=guildBanner:\i,animate:)\i(?=}\))/,
replace: "!0"
match: /animate:\i(?=}\))/,
replace: "animate:!0"
}
}
]