Fix MessageDecorationsAPI patch
This commit is contained in:
parent
544edce9f9
commit
4a2def03e7
@ -27,8 +27,8 @@ export default definePlugin({
|
|||||||
{
|
{
|
||||||
find: ".withMentionPrefix",
|
find: ".withMentionPrefix",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(currentUserIsPremium:.{10,50}{children:.{1,2})}\)/,
|
match: /currentUserIsPremium:.{0,70}{children:\i(?=}\))/,
|
||||||
replace: "$1.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))})"
|
replace: "$&.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user