1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-10 18:06:22 +00:00

Fix MessageDecorationsAPI patch

This commit is contained in:
Nuckyz 2023-10-23 22:42:23 -03:00 committed by Luna
parent 497342c986
commit 9b8bdc0b56

View file

@ -27,8 +27,8 @@ export default definePlugin({
{
find: ".withMentionPrefix",
replacement: {
match: /(currentUserIsPremium:.{10,50}{children:.{1,2})}\)/,
replace: "$1.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))})"
match: /currentUserIsPremium:.{0,70}{children:\i(?=}\))/,
replace: "$&.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))"
}
}
],