mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-23 16:49:24 -05:00
More Fixes
This commit is contained in:
parent
8cc6a73e19
commit
76c540bd73
4 changed files with 5 additions and 5 deletions
|
@ -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))",
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
}]
|
||||
}],
|
||||
|
|
|
@ -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)"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue