From 788d22f9e90276e08ccfce83d113ce793f2655c8 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 25 Oct 2023 16:52:59 +0200 Subject: [PATCH] MessageDecorationsAPI: fix --- src/plugins/_api/messageDecorations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/_api/messageDecorations.ts b/src/plugins/_api/messageDecorations.ts index 3c235d76..3f0fd11d 100644 --- a/src/plugins/_api/messageDecorations.ts +++ b/src/plugins/_api/messageDecorations.ts @@ -25,7 +25,7 @@ export default definePlugin({ authors: [Devs.TheSun], patches: [ { - find: ".withMentionPrefix", + find: "UsernameDecorationTypes:", replacement: { match: /currentUserIsPremium:.{0,70}{children:\i(?=}\))/, replace: "$&.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))"