From 4aa734b9efc8dd0df8d1398183b866a8a2ef17b6 Mon Sep 17 00:00:00 2001 From: bdistin Date: Tue, 16 May 2017 09:11:11 -0500 Subject: [PATCH] guild setPosition missing docs (#1498) * missing docs * update return docs --- src/structures/Guild.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/structures/Guild.js b/src/structures/Guild.js index ec0adb616..df2ee6297 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -648,6 +648,8 @@ class Guild { } /** + * Sets the position of the guild in the guild listing. + * This is only available when using a user account. * @param {number} position Absolute or relative position * @param {boolean} [relative=false] Whether to position relatively or absolutely * @returns {Promise} @@ -662,7 +664,7 @@ class Guild { /** * Marks all messages in this guild as read. * This is only available when using a user account. - * @returns {Promise} This guild + * @returns {Promise} */ acknowledge() { return this.client.rest.methods.ackGuild(this);