feat: Add premiumSubscriptionCount to InviteGuild (#7629)

This commit is contained in:
Jiralite
2022-04-09 10:34:24 +01:00
committed by GitHub
parent b9c5676006
commit 8e7d15e49d
3 changed files with 11 additions and 9 deletions

View File

@@ -286,14 +286,6 @@ class Guild extends AnonymousGuild {
this.premiumTier = PremiumTiers[data.premium_tier];
}
if ('premium_subscription_count' in data) {
/**
* The total number of boosts for this server
* @type {?number}
*/
this.premiumSubscriptionCount = data.premium_subscription_count;
}
if ('widget_enabled' in data) {
/**
* Whether widget images are enabled on this guild