mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
docs(GuildChannel): fix setPosition's reason type (#3199)
This commit is contained in:
parent
266ac1c659
commit
62cba2e148
1 changed files with 1 additions and 1 deletions
|
|
@ -391,7 +391,7 @@ class GuildChannel extends Channel {
|
||||||
* @param {number} position The new position for the guild channel
|
* @param {number} position The new position for the guild channel
|
||||||
* @param {Object} [options] Options for setting position
|
* @param {Object} [options] Options for setting position
|
||||||
* @param {boolean} [options.relative=false] Change the position relative to its current value
|
* @param {boolean} [options.relative=false] Change the position relative to its current value
|
||||||
* @param {boolean} [options.reason] Reason for changing the position
|
* @param {string} [options.reason] Reason for changing the position
|
||||||
* @returns {Promise<GuildChannel>}
|
* @returns {Promise<GuildChannel>}
|
||||||
* @example
|
* @example
|
||||||
* // Set a new channel position
|
* // Set a new channel position
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue