MessageDecorationsAPI: fix

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

View file

@ -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]))"