Fix MessageDecorationsAPI
This commit is contained in:
parent
b2a1410a96
commit
6c1b8b0d8a
@ -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…
x
Reference in New Issue
Block a user