MessageDecorationsAPI: fix

This commit is contained in:
Vendicated 2023-10-25 16:52:59 +02:00 committed by V
parent b69ac1cdad
commit 788d22f9e9

@ -25,7 +25,7 @@ export default definePlugin({
authors: [Devs.TheSun], authors: [Devs.TheSun],
patches: [ patches: [
{ {
find: ".withMentionPrefix", find: "UsernameDecorationTypes:",
replacement: { replacement: {
match: /currentUserIsPremium:.{0,70}{children:\i(?=}\))/, match: /currentUserIsPremium:.{0,70}{children:\i(?=}\))/,
replace: "$&.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))" replace: "$&.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))"