From c7f4485cec3e777e36300d01116d1940ffcfdfbe Mon Sep 17 00:00:00 2001 From: Sugden <28943913+NotSugden@users.noreply.github.com> Date: Sun, 1 Mar 2020 14:10:46 +0000 Subject: [PATCH] docs(PartialRoleData): id is optional (#3866) --- src/managers/GuildManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/GuildManager.js b/src/managers/GuildManager.js index b485c7237..42cbcd499 100644 --- a/src/managers/GuildManager.js +++ b/src/managers/GuildManager.js @@ -46,7 +46,7 @@ class GuildManager extends BaseManager { /** * Partial data for a Role. * @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 * @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