mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 03:00:35 +00:00
Webpack build for branch master: 4b2053133d
This commit is contained in:
parent
b469af6ee7
commit
e1ac59ddbc
2 changed files with 7 additions and 1 deletions
|
|
@ -24768,6 +24768,12 @@ class UserProfile {
|
||||||
*/
|
*/
|
||||||
this.premium = data.premium;
|
this.premium = data.premium;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The date since which the user has had Discord Premium
|
||||||
|
* @type {?Date}
|
||||||
|
*/
|
||||||
|
this.premiumSince = data.premium_since ? new Date(data.premium_since) : null;
|
||||||
|
|
||||||
for (const guild of data.mutual_guilds) {
|
for (const guild of data.mutual_guilds) {
|
||||||
if (this.client.guilds.has(guild.id)) {
|
if (this.client.guilds.has(guild.id)) {
|
||||||
this.mutualGuilds.set(guild.id, this.client.guilds.get(guild.id));
|
this.mutualGuilds.set(guild.id, this.client.guilds.get(guild.id));
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue