mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +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.
|
||||
* <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
|
||||
|
||||
Reference in New Issue
Block a user