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