diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-01-20 21:47:24 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-21 01:47:24 +0100 |
commit | 6e44b8c47ebf6a59caef130d58fb90a102a88479 (patch) | |
tree | 255f6edac367b9a23e4ffe95516d6173a4da8199 /src | |
parent | 2641adb29b3660c361f386d721937aab026feaf3 (diff) | |
download | Vencord-6e44b8c47ebf6a59caef130d58fb90a102a88479.tar.gz Vencord-6e44b8c47ebf6a59caef130d58fb90a102a88479.tar.bz2 Vencord-6e44b8c47ebf6a59caef130d58fb90a102a88479.zip |
Fix Message Accessories API (#441)
Diffstat (limited to 'src')
-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 11109be..5bb13cf 100644 --- a/src/plugins/apiMessageAccessories.ts +++ b/src/plugins/apiMessageAccessories.ts @@ -25,7 +25,7 @@ export default definePlugin({ authors: [Devs.Cyn], patches: [ { - find: "_messageAttachmentToEmbedMedia", + find: ".Messages.REMOVE_ATTACHMENT_BODY", replacement: { match: /(.container\)?,children:)(\[[^\]]+\])(}\)\};return)/, replace: (_, pre, accessories, post) => |