mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 18:06:22 +00:00
improving patchs
This commit is contained in:
parent
8ed2038306
commit
aeff450638
1 changed files with 2 additions and 2 deletions
|
@ -110,14 +110,14 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: ".Messages.CUSTOM_STATUS_CLEAR_AFTER",
|
find: ".Messages.CUSTOM_STATUS_CLEAR_AFTER",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /\.ModalFooter,.+\.Messages\.SAVE\}\)/,
|
match: /\.ModalFooter,.{0,70}\.Messages\.SAVE\}\)/,
|
||||||
replace: "$&,$self.renderRememberButton(this.state)"
|
replace: "$&,$self.renderRememberButton(this.state)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
find: ".Messages.STATUS_MENU_LABEL",
|
find: ".Messages.STATUS_MENU_LABEL",
|
||||||
replacement: {
|
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"
|
replace: "$self.render($2, $3),false&&$1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue