Fix MessageDecorationsAPI

This commit is contained in:
thororen1234 2025-03-30 13:37:58 -04:00
parent 1651916441
commit a1564cc1f0
No known key found for this signature in database
2 changed files with 4 additions and 9 deletions

View file

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