docs(Role): fix setPosition's reason type (#3198)

This commit is contained in:
anandre
2019-04-10 14:40:22 -05:00
committed by SpaceEEC
parent 6be5051f92
commit 266ac1c659

View File

@@ -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