diff --git a/infochannel/infochannel.py b/infochannel/infochannel.py index c196e20d..b9a0d9ec 100644 --- a/infochannel/infochannel.py +++ b/infochannel/infochannel.py @@ -28,9 +28,12 @@ async def get_channel_counts(category, guild): online_num = members - offline_num # Gets count of actual users human_num = members - bot_num + # count amount of premium subs/nitro subs. + boosters = guild.premium_subscription_count return { "members": members, "humans": human_num, + "boosters": boosters, "bots": bot_num, "roles": roles_num, "channels": channels_num, @@ -58,6 +61,7 @@ def __init__(self, bot: Red): self.default_channel_names = { "members": "Members: {count}", "humans": "Humans: {count}", + "boosters": "Boosters: {count}", "bots": "Bots: {count}", "roles": "Roles: {count}", "channels": "Channels: {count}", @@ -170,6 +174,7 @@ async def _infochannelset_togglechannel( Valid Types are: - `members`: Total members on the server - `humans`: Total members that aren't bots + - `boosters`: Total amount of boosters - `bots`: Total bots - `roles`: Total number of roles - `channels`: Total number of channels excluding infochannels, @@ -224,6 +229,7 @@ async def _infochannelset_name(self, ctx: commands.Context, channel_type: str, * Valid Types are: - `members`: Total members on the server - `humans`: Total members that aren't bots + - `boosters`: Total amount of boosters - `bots`: Total bots - `roles`: Total number of roles - `channels`: Total number of channels excluding infochannels @@ -441,6 +447,7 @@ async def update_infochannel(self, guild: discord.Guild, channel_type=None, chan guild, members=True, humans=True, + boosters=True, bots=True, roles=True, channels=True,