tec
DIAdiscord.js - Imagine an app
•Created by tec on 2/20/2024 in #djs-questions
Patch using webhooks on DeferredChannelMessageWithSource with token and embeds
hi everyone, I've been struggling for a while and can't find an answer using the search here. I'm sure it's a silly mistake. I have a serverless bot using Interaction and application commands. Using PATCH on the webhook to modify the message works with only text
{ "content": "some text" }
but fails with Invalid Body when using '{ "embeds": [...] }
Code is here https://github.com/abaschen/enshrouded-aws/blob/40014dbf3eaaf1b75b2caaa726a0c4839fa5b721/src/functions/sendMessage/index.ts5 replies