mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 19:20:42 +00:00
Webpack build for branch 11.1-dev: ee622f7d9f
This commit is contained in:
parent
b5e34c45de
commit
34d91e8e85
2 changed files with 15 additions and 3 deletions
|
|
@ -284,7 +284,7 @@ const Endpoints = exports.Endpoints = {
|
||||||
toString: () => '/gateway',
|
toString: () => '/gateway',
|
||||||
bot: '/gateway/bot',
|
bot: '/gateway/bot',
|
||||||
},
|
},
|
||||||
Invite: inviteID => `/invite/${inviteID}`,
|
Invite: inviteID => `/invite/${inviteID}?with_counts=true`,
|
||||||
inviteLink: id => `https://discord.gg/${id}`,
|
inviteLink: id => `https://discord.gg/${id}`,
|
||||||
Webhook: (webhookID, token) => `/webhooks/${webhookID}${token ? `/${token}` : ''}`,
|
Webhook: (webhookID, token) => `/webhooks/${webhookID}${token ? `/${token}` : ''}`,
|
||||||
};
|
};
|
||||||
|
|
@ -13313,6 +13313,12 @@ class Invite {
|
||||||
*/
|
*/
|
||||||
this.code = data.code;
|
this.code = data.code;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The approximate number of online members of the guild this invite is for
|
||||||
|
* @type {number}
|
||||||
|
*/
|
||||||
|
this.presenceCount = data.approximate_presence_count;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether or not this invite is temporary
|
* Whether or not this invite is temporary
|
||||||
* @type {boolean}
|
* @type {boolean}
|
||||||
|
|
@ -13325,6 +13331,12 @@ class Invite {
|
||||||
*/
|
*/
|
||||||
this.maxAge = data.max_age;
|
this.maxAge = data.max_age;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The approximate total number of members of the guild this invite is for
|
||||||
|
* @type {number}
|
||||||
|
*/
|
||||||
|
this.memberCount = data.approximate_member_count;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* How many times this invite has been used
|
* How many times this invite has been used
|
||||||
* @type {number}
|
* @type {number}
|
||||||
|
|
|
||||||
4
discord.11.1-dev.min.js
vendored
4
discord.11.1-dev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue