From 8f6bdab1151827997b05f7ead36c8df6071fa62f Mon Sep 17 00:00:00 2001 From: Donovan Daniels Date: Thu, 28 Nov 2019 18:39:57 -0600 Subject: [PATCH] executeWebhook returns empty string when wait is false --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index e5a56adca..8fcefc575 100644 --- a/index.d.ts +++ b/index.d.ts @@ -873,7 +873,7 @@ declare namespace Eris { reason?: string ): Promise; executeWebhook(webhookID: string, token: string, options: WebhookPayload & { wait: true }): Promise; - executeWebhook(webhookID: string, token: string, options: WebhookPayload): Promise; + executeWebhook(webhookID: string, token: string, options: WebhookPayload): Promise<"">; executeSlackWebhook(webhookID: string, token: string, options?: { wait?: boolean }): Promise; deleteWebhook(webhookID: string, token?: string, reason?: string): Promise; getGuildWebhooks(guildID: string): Promise;