mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
Merge branch 'main' of https://github.com/discordeno/discordeno into main
This commit is contained in:
@@ -66,9 +66,8 @@ export async function sendWebhook(
|
||||
|
||||
const result = await rest.runMethod<Message>(
|
||||
"post",
|
||||
`${endpoints.WEBHOOK(webhookId, webhookToken)}?wait=${options.wait}${
|
||||
options.threadId ? `&thread_id=${options.threadId}` : ""
|
||||
}`,
|
||||
`${endpoints.WEBHOOK(webhookId, webhookToken)}?wait=${options.wait ??
|
||||
false}${options.threadId ? `&thread_id=${options.threadId}` : ""}`,
|
||||
{
|
||||
...options,
|
||||
allowed_mentions: options.allowedMentions,
|
||||
|
||||
@@ -2,6 +2,7 @@ export * from "./bigint.ts";
|
||||
export * from "./cache_members.ts";
|
||||
export * from "./collection.ts";
|
||||
export * from "./constants.ts";
|
||||
export * from "./hash.ts";
|
||||
export * from "./loop_object.ts";
|
||||
export * from "./permissions.ts";
|
||||
export * from "./utils.ts";
|
||||
|
||||
Reference in New Issue
Block a user