aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kosayoda <[email protected]>2021-01-15 14:55:14 +0800
committerGravatar kosayoda <[email protected]>2021-01-15 14:55:14 +0800
commit6e0d810c9e5c8eac0dfabd75155edf744333fb02 (patch)
tree3375953c7bedaf536c9d79ebc78c800f16647988
parentMerge branch 'master' into feat/info/server-cmd-enhancements (diff)
Remove unverified member information.
We do not have the Developers role anymore, so there's no such thing as verified/unverified members.
-rw-r--r--bot/exts/info/information.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py
index b9d46b9c0..73a377bf0 100644
--- a/bot/exts/info/information.py
+++ b/bot/exts/info/information.py
@@ -68,7 +68,6 @@ class Information(Cog):
def get_extended_server_info(self, guild: Guild) -> str:
"""Return additional server info only visible in moderation channels."""
- unverified_count = guild.member_count - len(guild.get_role(constants.Roles.verified).members)
talentpool_count = len(self.bot.get_cog("Talentpool").watched_users)
bb_count = len(self.bot.get_cog("Big Brother").watched_users)
@@ -78,10 +77,8 @@ class Information(Cog):
python_general = self.bot.get_channel(constants.Channels.python_discussion)
return textwrap.dedent(f"""
- Unverified: {unverified_count:,}
Nominated: {talentpool_count}
BB-watched: {bb_count}
-
Defcon status: {defcon_status}
Defcon days: {defcon_days}
{python_general.mention} cooldown: {python_general.slowmode_delay}s
@@ -207,7 +204,7 @@ class Information(Cog):
# Additional info if ran in moderation channels
if ctx.channel.id in constants.MODERATION_CHANNELS:
embed.add_field(
- name="Moderation Information:", value=self.get_extended_server_info(ctx.guild)
+ name="Moderation:", value=self.get_extended_server_info(ctx.guild)
)
await ctx.send(embed=embed)