aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-01-20 21:47:24 -0300
committerGitHub <noreply@github.com>2023-01-21 01:47:24 +0100
commit6e44b8c47ebf6a59caef130d58fb90a102a88479 (patch)
tree255f6edac367b9a23e4ffe95516d6173a4da8199 /src
parent2641adb29b3660c361f386d721937aab026feaf3 (diff)
downloadVencord-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.ts2
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) =>