diff options
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 0b30b58..11109be 100644 --- a/src/plugins/apiMessageAccessories.ts +++ b/src/plugins/apiMessageAccessories.ts @@ -27,7 +27,7 @@ export default definePlugin({ { find: "_messageAttachmentToEmbedMedia", replacement: { - match: /(\(\)\.container\)?,children:)(\[[^\]]+\])(}\)\};return)/, + match: /(.container\)?,children:)(\[[^\]]+\])(}\)\};return)/, replace: (_, pre, accessories, post) => `${pre}Vencord.Api.MessageAccessories._modifyAccessories(${accessories},this.props)${post}`, }, |