mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +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 {Object} [options] Options for setting position
|
||||
* @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>}
|
||||
* @example
|
||||
* // Set the position of the role
|
||||
|
||||
Reference in New Issue
Block a user