mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 02:53:31 +01:00
guild setPosition missing docs (#1498)
* missing docs * update return docs
This commit is contained in:
@@ -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 {number} position Absolute or relative position
|
||||||
* @param {boolean} [relative=false] Whether to position relatively or absolutely
|
* @param {boolean} [relative=false] Whether to position relatively or absolutely
|
||||||
* @returns {Promise<Guild>}
|
* @returns {Promise<Guild>}
|
||||||
@@ -662,7 +664,7 @@ class Guild {
|
|||||||
/**
|
/**
|
||||||
* Marks all messages in this guild as read.
|
* Marks all messages in this guild as read.
|
||||||
* <warn>This is only available when using a user account.</warn>
|
* <warn>This is only available when using a user account.</warn>
|
||||||
* @returns {Promise<Guild>} This guild
|
* @returns {Promise<Guild>}
|
||||||
*/
|
*/
|
||||||
acknowledge() {
|
acknowledge() {
|
||||||
return this.client.rest.methods.ackGuild(this);
|
return this.client.rest.methods.ackGuild(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user