mirror of
https://github.com/Equicord/Equicord.git
synced 2025-02-24 00:59:09 -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"',
|
find: '"SystemMessageUtils.stringify(...) could not convert"',
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /{icon:.*?}/,
|
match: /{icon:.{0,45}body:\i}/,
|
||||||
replace: "($self.makeTitle($&,...arguments))",
|
replace: "($self.makeTitle($&,...arguments))",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -49,7 +49,7 @@ export default definePlugin({
|
||||||
replace: "$&if(!$self.isPrivateChannelRead(arguments[0]?.message))return;else "
|
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"
|
replace: "sound:!$self.isPrivateChannelRead(arguments[0]?.message)?undefined:$1"
|
||||||
}]
|
}]
|
||||||
}],
|
}],
|
||||||
|
|
|
@ -158,7 +158,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: "#{intl::CUSTOM_STATUS_SET_CUSTOM_STATUS}",
|
find: "#{intl::CUSTOM_STATUS_SET_CUSTOM_STATUS}",
|
||||||
replacement: {
|
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)"
|
replace: "$&,$self.renderRememberButton(this.state)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -51,8 +51,8 @@ export default definePlugin({
|
||||||
// Guild Banner
|
// Guild Banner
|
||||||
find: ".animatedBannerHoverLayer,onMouseEnter:",
|
find: ".animatedBannerHoverLayer,onMouseEnter:",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(?<=guildBanner:\i,animate:)\i(?=}\))/,
|
match: /animate:\i(?=}\))/,
|
||||||
replace: "!0"
|
replace: "animate:!0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue