feat(Integration): add missing props and fix docs/types (#6623)

Co-authored-by: Noel <buechler.noel@outlook.com>
This commit is contained in:
Rodry
2021-09-23 12:47:01 +01:00
committed by GitHub
parent 29dd319b68
commit caa3b60c30
6 changed files with 66 additions and 19 deletions

View File

@@ -87,7 +87,7 @@ class Role extends Base {
* The tags this role has
* @type {?Object}
* @property {Snowflake} [botId] The id of the bot this role belongs to
* @property {Snowflake} [integrationId] The id of the integration this role belongs to
* @property {Snowflake|string} [integrationId] The id of the integration this role belongs to
* @property {true} [premiumSubscriberRole] Whether this is the guild's premium subscription role
*/
this.tags = data.tags ? {} : null;