mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
docs(RoleStore): update -> create in create method (#3349)
Under `create`, change `update` -> `create` in the description
This commit is contained in:
parent
1bec28bd81
commit
6100aceef2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue