docs(RoleStore): update -> create in create method (#3349)

Under `create`, change `update` -> `create` in the description
This commit is contained in:
anandre
2019-06-19 11:49:33 -05:00
committed by SpaceEEC
parent 1bec28bd81
commit 6100aceef2

View File

@@ -76,7 +76,7 @@ class RoleStore extends DataStore {
* Creates a new role in the guild with given information.
* <warn>The position will silently reset to 1 if an invalid one is provided, or none.</warn>
* @param {Object} [options] Options
* @param {RoleData} [options.data] The data to update the role with
* @param {RoleData} [options.data] The data to create the role with
* @param {string} [options.reason] Reason for creating this role
* @returns {Promise<Role>}
* @example