Skip to content

Commit

Permalink
executeWebhook does not return nothing.
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanDMC committed Nov 28, 2019
1 parent bc96c8c commit 3209fca
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<void>;
executeWebhook(webhookID: string, token: string, options: WebhookPayload): Promise<any>;
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 3209fca

Please sign in to comment.