fix Decor & Message decorations

This commit is contained in:
Vendicated 2026-03-13 14:25:20 +01:00
parent 5861dd7fa4
commit f768065b6d
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ export default definePlugin({
patches: [
{
find: '"Message Username"',
find: "#{intl::GUILD_COMMUNICATION_DISABLED_ICON_TOOLTIP_BODY}",
replacement: {
match: /#{intl::GUILD_COMMUNICATION_DISABLED_BOTTOM_SHEET_TITLE}.+?renderPopout:.+?(?=\])/,
replace: "$&,Vencord.Api.MessageDecorations.__addDecorationsToMessage(arguments[0])"

View file

@ -97,7 +97,7 @@ export default definePlugin({
]
},
...[
'"Message Username"', // Messages
"#{intl::GUILD_COMMUNICATION_DISABLED_ICON_TOOLTIP_BODY}", // Messages
"#{intl::COLLECTIBLES_NAMEPLATE_PREVIEW_A11Y}", // Nameplate preview
"#{intl::COLLECTIBLES_PROFILE_PREVIEW_A11Y}", // Avatar preview
].map(find => ({