mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Webpack build: 8139bef4e2
This commit is contained in:
parent
75a9c69173
commit
3843103a67
2 changed files with 14 additions and 2 deletions
|
|
@ -5577,6 +5577,12 @@ class Guild {
|
|||
*/
|
||||
this.features = data.features;
|
||||
|
||||
/**
|
||||
* The ID of the application that created this guild (if applicable)
|
||||
* @type {?string}
|
||||
*/
|
||||
this.applicationId = data.application_id;
|
||||
|
||||
/**
|
||||
* A collection of emojis that are in this guild. The key is the emoji's ID, the value is the emoji.
|
||||
* @type {Collection<string, Emoji>}
|
||||
|
|
@ -22622,6 +22628,12 @@ class UserProfile {
|
|||
}
|
||||
|
||||
setup(data) {
|
||||
/**
|
||||
* If the user has Discord Premium
|
||||
* @type {Boolean}
|
||||
*/
|
||||
this.premium = data.premium;
|
||||
|
||||
for (const guild of data.mutual_guilds) {
|
||||
if (this.client.guilds.has(guild.id)) {
|
||||
this.mutualGuilds.set(guild.id, this.client.guilds.get(guild.id));
|
||||
|
|
|
|||
4
discord.indev.min.js
vendored
4
discord.indev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue