1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-11 02:16:23 +00:00

MessageDecorationsAPI: fix

This commit is contained in:
Vendicated 2023-10-25 16:52:59 +02:00 committed by Luna
parent ea1fd92575
commit 86f58cd6b7

View file

@ -25,7 +25,7 @@ export default definePlugin({
authors: [Devs.TheSun],
patches: [
{
find: ".withMentionPrefix",
find: "UsernameDecorationTypes:",
replacement: {
match: /currentUserIsPremium:.{0,70}{children:\i(?=}\))/,
replace: "$&.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))"