mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 01:31:29 +00:00
docs(Role): fix setPosition's reason type (#3198)
This commit is contained in:
parent
6be5051f92
commit
266ac1c659
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ class Role extends Base {
|
||||||
* @param {number} position The position of the role
|
* @param {number} position The position of the role
|
||||||
* @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<Role>}
|
* @returns {Promise<Role>}
|
||||||
* @example
|
* @example
|
||||||
* // Set the position of the role
|
* // Set the position of the role
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue