diff --git a/src/structures/Webhook.js b/src/structures/Webhook.js index 301edcd10b27..9b7569a88fbe 100644 --- a/src/structures/Webhook.js +++ b/src/structures/Webhook.js @@ -293,10 +293,10 @@ class Webhook { /** * Deletes the webhook. * @param {string} [reason] Reason for deleting this webhook - * @returns {Promise} + * @returns {Promise} */ - delete(reason) { - return this.client.api.webhooks(this.id, this.token).delete({ reason }); + async delete(reason) { + await this.client.api.webhooks(this.id, this.token).delete({ reason }); } /**