Fix "null" on server command for boost amount
This commit is contained in:
parent
4cf8c2ae92
commit
d7bacc6721
1 changed files with 3 additions and 1 deletions
|
@ -1180,7 +1180,9 @@ export class UtilityPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
trimLines(`
|
||||
Roles: **${this.guild.roles.size}** / 250
|
||||
Emojis: **${this.guild.emojis.length}** / ${maxEmojis}
|
||||
Boosts: **${this.guild.premiumSubscriptionCount}** (level ${this.guild.premiumTier})
|
||||
Boosts: **${this.guild.premiumSubscriptionCount ? this.guild.premiumSubscriptionCount : "0"}** (level ${
|
||||
this.guild.premiumTier
|
||||
})
|
||||
`) + embedPadding,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue