1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 09:56:24 +00:00

improving patchs

This commit is contained in:
programminglaboratorys 2024-09-30 08:13:20 +03:00
parent 8ed2038306
commit aeff450638

View file

@ -110,14 +110,14 @@ export default definePlugin({
{
find: ".Messages.CUSTOM_STATUS_CLEAR_AFTER",
replacement: {
match: /\.ModalFooter,.+\.Messages\.SAVE\}\)/,
match: /\.ModalFooter,.{0,70}\.Messages\.SAVE\}\)/,
replace: "$&,$self.renderRememberButton(this.state)"
}
},
{
find: ".Messages.STATUS_MENU_LABEL",
replacement: {
match: /!\i&&(.{0,15}\i\.Fragment.+null==(\i).+customEmojiPlaceholder\}\),onClick:([^}]+}))/,
match: /!\i&&(.{0,15}\i\.Fragment.{0,55}null==(\i).{0,200}customEmojiPlaceholder\}\),onClick:([^}]+}))/,
replace: "$self.render($2, $3),false&&$1"
}
}