Fix MessageDecorationsAPI

This commit is contained in:
Nuckyz 2023-10-21 12:04:22 -03:00
parent b2a1410a96
commit 6c1b8b0d8a
No known key found for this signature in database
GPG Key ID: 440BF8296E1C4AD9

View File

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