diff --git a/src/structures/Widget.js b/src/structures/Widget.js index 3b232505e..05e3bd442 100644 --- a/src/structures/Widget.js +++ b/src/structures/Widget.js @@ -17,6 +17,14 @@ class Widget extends Base { this._patch(data); } + /** + * Represents a channel in a Widget + * @typedef {Object} WidgetChannel + * @property {Snowflake} id Id of the channel + * @property {string} name Name of the channel + * @property {number} position Position of the channel + */ + /** * Builds the widget with the provided data. * @param {*} data The raw data of the widget