1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-02-04 05:36:23 +00:00

Fix MessageDecorationsAPI

This commit is contained in:
Nuckyz 2023-11-01 22:46:06 -03:00 committed by Luna
parent 586499adc6
commit 7972527e54

View file

@ -27,8 +27,8 @@ export default definePlugin({
{ {
find: '"Message Username"', find: '"Message Username"',
replacement: { replacement: {
match: /currentUserIsPremium:.{0,70}{children:\i(?=}\))/, match: /\.Messages\.GUILD_COMMUNICATION_DISABLED_BOTTOM_SHEET_TITLE.+?}\),\i(?=\])/,
replace: "$&.concat(Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0]))" replace: "$&,...Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0])"
} }
} }
], ],