diff options
author | Vendicated <vendicated@riseup.net> | 2022-11-11 16:14:05 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-11-11 16:14:09 +0100 |
commit | 1176896a1b7aa5615b4aae28cc885683f0dadd1a (patch) | |
tree | d314a46e6ddcab6e3f328d0a3f535319e7c8f796 /src/plugins/apiMessageAccessories.ts | |
parent | f3aba3edb0fc67118546629f7dbdda5ff6b0ebff (diff) | |
download | Vencord-1176896a1b7aa5615b4aae28cc885683f0dadd1a.tar.gz Vencord-1176896a1b7aa5615b4aae28cc885683f0dadd1a.tar.bz2 Vencord-1176896a1b7aa5615b4aae28cc885683f0dadd1a.zip |
fix(plugins): PronounDB, ViewIcons, WebhookTags, NoBlockedMessages, BetterGifAltText, MessageAccessories
Diffstat (limited to 'src/plugins/apiMessageAccessories.ts')
-rw-r--r-- | src/plugins/apiMessageAccessories.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/apiMessageAccessories.ts b/src/plugins/apiMessageAccessories.ts index 8d01810..5f6c693 100644 --- a/src/plugins/apiMessageAccessories.ts +++ b/src/plugins/apiMessageAccessories.ts @@ -27,7 +27,7 @@ export default definePlugin({ { find: "_messageAttachmentToEmbedMedia", replacement: { - match: /\(\)\.container\)},(.+?)\)};return/, + match: /\(\)\.container,children:[[^\]]*]\)},(.+?)\)};return/, replace: (_, accessories) => `().container)},Vencord.Api.MessageAccessories._modifyAccessories([${accessories}],this.props))};return`, }, |