diff --git a/src/equicordplugins/notificationTitle/index.tsx b/src/equicordplugins/notificationTitle/index.tsx index 2bb27fd5..f0fe3323 100644 --- a/src/equicordplugins/notificationTitle/index.tsx +++ b/src/equicordplugins/notificationTitle/index.tsx @@ -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))", } }, diff --git a/src/equicordplugins/onePingPerDM/index.ts b/src/equicordplugins/onePingPerDM/index.ts index e9cde652..5fc0778d 100644 --- a/src/equicordplugins/onePingPerDM/index.ts +++ b/src/equicordplugins/onePingPerDM/index.ts @@ -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" }] }], diff --git a/src/equicordplugins/statusPresets/index.tsx b/src/equicordplugins/statusPresets/index.tsx index 11c4b893..904f30c3 100644 --- a/src/equicordplugins/statusPresets/index.tsx +++ b/src/equicordplugins/statusPresets/index.tsx @@ -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)" } }, diff --git a/src/plugins/alwaysAnimate/index.ts b/src/plugins/alwaysAnimate/index.ts index a5297445..8dd04278 100644 --- a/src/plugins/alwaysAnimate/index.ts +++ b/src/plugins/alwaysAnimate/index.ts @@ -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" } } ]