Skip to content

Commit

Permalink
executeWebhook returns empty string when wait is false
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanDMC committed Nov 29, 2019
1 parent 3209fca commit 8f6bdab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -873,7 +873,7 @@ declare namespace Eris {
reason?: string
): Promise<Webhook>;
executeWebhook(webhookID: string, token: string, options: WebhookPayload & { wait: true }): Promise<Message>;
executeWebhook(webhookID: string, token: string, options: WebhookPayload): Promise<any>;
executeWebhook(webhookID: string, token: string, options: WebhookPayload): Promise<"">;
executeSlackWebhook(webhookID: string, token: string, options?: { wait?: boolean }): Promise<void>;
deleteWebhook(webhookID: string, token?: string, reason?: string): Promise<void>;
getGuildWebhooks(guildID: string): Promise<Webhook[]>;
Expand Down

0 comments on commit 8f6bdab

Please sign in to comment.