From 944c525a6bf9637c6e9c82f0898362eeef6718b0 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 5 May 2017 23:23:23 +0000 Subject: [PATCH] Webpack build for branch master: 6566c0d3c5ecf7a0eab1739b2b98d03fa1ac31b7 --- discord.master.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/discord.master.js b/discord.master.js index 1a7f0c72..38ed3a13 100644 --- a/discord.master.js +++ b/discord.master.js @@ -6141,6 +6141,7 @@ class Message { * @param {string} lang The language for the code block * @param {StringResolvable} content The new content for the message * @returns {Promise} + * @deprecated */ editCode(lang, content) { content = Util.escapeMarkdown(this.client.resolver.resolveString(content), true); @@ -9826,6 +9827,7 @@ class Webhook { * @param {StringResolvable} content The content to send * @param {WebhookMessageOptions} [options={}] The options to provide * @returns {Promise} + * @deprecated * @example * // Send a message * webhook.sendMessage('hello!') @@ -9843,6 +9845,7 @@ class Webhook { * @param {StringResolvable} [content] Text message to send with the attachment * @param {WebhookMessageOptions} [options] The options to provide * @returns {Promise} + * @deprecated */ sendFile(attachment, name, content, options = {}) { return this.send(content, Object.assign(options, { file: { attachment, name } })); @@ -9854,6 +9857,7 @@ class Webhook { * @param {StringResolvable} content Content of the code block * @param {WebhookMessageOptions} options The options to provide * @returns {Promise} + * @deprecated */ sendCode(lang, content, options = {}) { return this.send(content, Object.assign(options, { code: lang }));