mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Webpack build for branch 11.1-dev: 2478092d44
This commit is contained in:
parent
f65de8f971
commit
d2c36cb227
1 changed files with 15 additions and 13 deletions
|
|
@ -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<Snowflake, string>}
|
||||
*/
|
||||
if (data.nicks) this.nicks = new Collection(data.nicks.map(n => [n.id, n.nick]));
|
||||
if (data.nicks) {
|
||||
/**
|
||||
* Nicknames for group members
|
||||
* @type {?Collection<Snowflake, string>}
|
||||
*/
|
||||
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<Snowflake, GuildChannel>}
|
||||
* @type {Collection<Snowflake, GuildChannel>}
|
||||
* @readonly
|
||||
*/
|
||||
get channels() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue