fix Decor & Message decorations
This commit is contained in:
parent
5861dd7fa4
commit
f768065b6d
2 changed files with 2 additions and 2 deletions
|
|
@ -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])"
|
||||
|
|
|
|||
|
|
@ -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 => ({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue