const rest = new REST({ version: "10" }).setToken(
process.env.token
);
await rest.patch(
Routes.webhookMessage(
message.application_id,
message.token,
message.id
),
{
body, // body with other message options, like embeds
files, // array of RawFiles
}
const rest = new REST({ version: "10" }).setToken(
process.env.token
);
await rest.patch(
Routes.webhookMessage(
message.application_id,
message.token,
message.id
),
{
body, // body with other message options, like embeds
files, // array of RawFiles
}