mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
guild setPosition missing docs (#1498)
* missing docs * update return docs
This commit is contained in:
parent
3fa87de594
commit
4aa734b9ef
1 changed files with 3 additions and 1 deletions
|
|
@ -648,6 +648,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>}
|
||||
|
|
@ -662,7 +664,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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue