This commit is contained in:
ITOH
2021-05-08 11:21:21 +02:00
2 changed files with 3 additions and 3 deletions
+2 -3
View File
@@ -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,
+1
View File
@@ -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";