mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
docs(RoleStore): update -> create in create method (#3349)
Under `create`, change `update` -> `create` in the description
This commit is contained in:
@@ -76,7 +76,7 @@ class RoleStore extends DataStore {
|
|||||||
* Creates a new role in the guild with given information.
|
* 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>
|
* <warn>The position will silently reset to 1 if an invalid one is provided, or none.</warn>
|
||||||
* @param {Object} [options] Options
|
* @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
|
* @param {string} [options.reason] Reason for creating this role
|
||||||
* @returns {Promise<Role>}
|
* @returns {Promise<Role>}
|
||||||
* @example
|
* @example
|
||||||
|
|||||||
Reference in New Issue
Block a user