fix: components on message
This commit is contained in:
parent
840652f003
commit
f1c93a799d
@ -63,6 +63,7 @@ router.post("/", route({}), async (req: Request, res: Response) => {
|
|||||||
channel_id: interaction.channelId,
|
channel_id: interaction.channelId,
|
||||||
author_id: interaction.applicationId,
|
author_id: interaction.applicationId,
|
||||||
content: body.data.content,
|
content: body.data.content,
|
||||||
|
components: body.data.components || [],
|
||||||
tts: body.data.tts,
|
tts: body.data.tts,
|
||||||
embeds: body.data.embeds || [],
|
embeds: body.data.embeds || [],
|
||||||
attachments: body.data.attachments,
|
attachments: body.data.attachments,
|
||||||
|
|||||||
Reference in New Issue
Block a user