mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 01:01:30 +00:00
docs(PartialRoleData): id is optional (#3866)
This commit is contained in:
parent
713309e7bb
commit
c7f4485cec
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class GuildManager extends BaseManager {
|
||||||
/**
|
/**
|
||||||
* Partial data for a Role.
|
* Partial data for a Role.
|
||||||
* @typedef {Object} PartialRoleData
|
* @typedef {Object} PartialRoleData
|
||||||
* @property {number} id The ID for this role, used to set channel overrides,
|
* @property {number} [id] The ID for this role, used to set channel overrides,
|
||||||
* this is a placeholder and will be replaced by the API after consumption
|
* this is a placeholder and will be replaced by the API after consumption
|
||||||
* @property {string} [name] The name of the role
|
* @property {string} [name] The name of the role
|
||||||
* @property {ColorResolvable} [color] The color of the role, either a hex string or a base 10 number
|
* @property {ColorResolvable} [color] The color of the role, either a hex string or a base 10 number
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue