mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
docs(Role): fix setPosition's reason type (#3198)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user