guild setPosition missing docs (#1498)

* missing docs

* update return docs
This commit is contained in:
bdistin 2017-05-16 09:11:11 -05:00 committed by Crawl
parent 28a29d5d9f
commit c903929b6b

View file

@ -634,6 +634,8 @@ class Guild {
}
/**
* Sets the position of the guild in the guild listing.
* <warn>This is only available when using a user account.</warn>
* @param {number} position Absolute or relative position
* @param {boolean} [relative=false] Whether to position relatively or absolutely
* @returns {Promise<Guild>}
@ -648,7 +650,7 @@ class Guild {
/**
* Marks all messages in this guild as read.
* <warn>This is only available when using a user account.</warn>
* @returns {Promise<Guild>} This guild
* @returns {Promise<Guild>}
*/
acknowledge() {
return this.client.rest.methods.ackGuild(this);