mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
Update send_webhook.ts
This commit is contained in:
@@ -66,9 +66,9 @@ export async function sendWebhook(
|
||||
|
||||
const result = await rest.runMethod<Message>(
|
||||
"post",
|
||||
`${endpoints.WEBHOOK(webhookId, webhookToken)}?wait=${
|
||||
options.wait ? "true" : "false"
|
||||
}${options.threadId ? `&thread_id=${options.threadId}` : ""}`,
|
||||
`${endpoints.WEBHOOK(webhookId, webhookToken)}?wait=${options.wait}${
|
||||
options.threadId ? `&thread_id=${options.threadId}` : ""
|
||||
}`,
|
||||
{
|
||||
...options,
|
||||
allowed_mentions: options.allowedMentions,
|
||||
|
||||
Reference in New Issue
Block a user