Fix MessageDecorationsAPI
This commit is contained in:
parent
b2a1410a96
commit
6c1b8b0d8a
1 changed files with 1 additions and 1 deletions
|
@ -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]))})"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue