Report by Trîggered#0001

This commit is contained in:
March 7th 2022-04-02 22:22:00 +07:00
parent 76902bf8b2
commit a5a0ede5b1

View File

@ -34,7 +34,7 @@ class User extends Base {
this.blocked = client.blocked.cache.has(this.id); this.blocked = client.blocked.cache.has(this.id);
// Code written by https://github.com/aiko-chan-ai // Code written by https://github.com/aiko-chan-ai
this.connectedAccounds = []; this.connectedAccounts = [];
this.premiumSince = null; this.premiumSince = null;
this.premiumGuildSince = null; this.premiumGuildSince = null;
this.mutualGuilds = new Collection(); this.mutualGuilds = new Collection();
@ -134,7 +134,7 @@ class User extends Base {
if (!data) return; if (!data) return;
if (data.connected_accounts.length > 0) if (data.connected_accounts.length > 0)
this.connectedAccounds = data.connected_accounts; this.connectedAccounts = data.connected_accounts;
if ('premium_since' in data) { if ('premium_since' in data) {
const date = new Date(data.premium_since); const date = new Date(data.premium_since);