1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-11 02:16:23 +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", find: ".withMentionPrefix",
replacement: { replacement: {
match: /(currentUserIsPremium:.{10,50}{children:.{1,2})}\)/, match: /currentUserIsPremium:.{0,70}{children:\i(?=}\))/,
replace: "$1.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))})" replace: "$&.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))"
} }
} }
], ],