From c5c1efd4c34851c026a278610cf70e7deea0a3f7 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 5 May 2017 23:28:18 +0000 Subject: [PATCH] Webpack build for branch 11.1-dev: 294f5ea5c895363f8cca3982391733157dd3d6cd --- discord.11.1-dev.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/discord.11.1-dev.js b/discord.11.1-dev.js index 6faec63a..9e967265 100644 --- a/discord.11.1-dev.js +++ b/discord.11.1-dev.js @@ -6104,6 +6104,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); @@ -9760,6 +9761,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!') @@ -9777,6 +9779,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 } })); @@ -9788,6 +9791,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 }));