mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 09:56:24 +00:00
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",
|
find: ".withMentionPrefix",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /(.roleDot.{10,50}{children:.{1,2})}\)/,
|
match: /(currentUserIsPremium:.{10,50}{children:.{1,2})}\)/,
|
||||||
replace: "$1.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))})"
|
replace: "$1.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))})"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue