From 5ac410f35296dab3cb8ca6b6c9e4a181c2eccb20 Mon Sep 17 00:00:00 2001 From: Gus Caplan Date: Fri, 13 Jan 2017 12:48:12 -0600 Subject: [PATCH] Cleanup webhooks (#1094) * clean up webhooks and fix sending messages with webhooks * whoops * fix up options * Update Webhook.js * Update Webhook.js * Update Webhook.js * fix docstring --- src/structures/Webhook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/Webhook.js b/src/structures/Webhook.js index 89aa89d34..dc6f50fff 100644 --- a/src/structures/Webhook.js +++ b/src/structures/Webhook.js @@ -76,7 +76,7 @@ class Webhook { * @property {string} [avatarURL] Avatar URL override for the message * @property {boolean} [tts=false] Whether or not the message should be spoken aloud * @property {string} [nonce=''] The nonce for the message - * @property {Object} [embed] An embed for the message + * @property {Object[]} [embeds] An array of embeds for the message * (see [here](https://discordapp.com/developers/docs/resources/channel#embed-object) for more details) * @property {boolean} [disableEveryone=this.client.options.disableEveryone] Whether or not @everyone and @here * should be replaced with plain-text