docs: undocument private constructors (#6732)

This commit is contained in:
SpaceEEC
2021-10-03 15:02:11 +02:00
committed by GitHub
parent a8e60105fb
commit 34b2ad0d8e
27 changed files with 105 additions and 275 deletions

View File

@@ -8,10 +8,6 @@ const WidgetMember = require('./WidgetMember');
* Represents a Widget.
*/
class Widget extends Base {
/**
* @param {Client} client The instantiating client
* @param {Object} data The raw data
*/
constructor(client, data) {
super(client);
this._patch(data);
@@ -25,11 +21,6 @@ class Widget extends Base {
* @property {number} position Position of the channel
*/
/**
* Builds the widget with the provided data.
* @param {*} data The raw data of the widget
* @private
*/
_patch(data) {
/**
* The id of the guild.