mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
docs: undocument private constructors (#6732)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user