diff --git a/discord.11.1-dev.js b/discord.11.1-dev.js index ad80e3f5..f0031ce4 100644 --- a/discord.11.1-dev.js +++ b/discord.11.1-dev.js @@ -624,8 +624,8 @@ exports.UserSettingsMap = { explicit_content_filter: function explicitContentFilter(type) { // eslint-disable-line func-name-matching /** - * Safe direct messaging; force people's messages with images to be scanned before they are sent to you - * one of `DISABLED`, `NON_FRIENDS`, `FRIENDS_AND_NON_FRIENDS` + * Safe direct messaging; force people's messages with images to be scanned before they are sent to you. + * One of `DISABLED`, `NON_FRIENDS`, `FRIENDS_AND_NON_FRIENDS` * @name ClientUserSettings#explicitContentFilter * @type {string} */ @@ -4920,7 +4920,7 @@ const Snowflake = __webpack_require__(8); class User { constructor(client, data) { /** - * The client that created the instance of the the user + * The client that created the instance of the user * @name User#client * @type {} * @readonly @@ -8077,7 +8077,7 @@ const Snowflake = __webpack_require__(8); class Guild { constructor(client, data) { /** - * The client that created the instance of the the guild + * The client that created the instance of the guild * @name Guild#client * @type {Client} * @readonly @@ -11943,7 +11943,7 @@ class Webhook { /** * The avatar for the webhook - * @type {string} + * @type {?string} */ this.avatar = data.avatar; @@ -12334,8 +12334,8 @@ class GroupDMChannel extends Channel { this.name = data.name; /** - * A hash of the Group DM icon. - * @type {string} + * A hash of this Group DM icon + * @type {?string} */ this.icon = data.icon; @@ -12357,11 +12357,13 @@ class GroupDMChannel extends Channel { */ this.applicationID = data.application_id; - /** - * Nicknames for group members - * @type {?Collection} - */ - if (data.nicks) this.nicks = new Collection(data.nicks.map(n => [n.id, n.nick])); + if (data.nicks) { + /** + * Nicknames for group members + * @type {?Collection} + */ + this.nicks = new Collection(data.nicks.map(n => [n.id, n.nick])); + } if (!this.recipients) { /** @@ -15511,7 +15513,7 @@ class MessageMentions { /** * Any channels that were mentioned - * @type {?Collection} + * @type {Collection} * @readonly */ get channels() {