Browse Source

Added verifiedcount command.

main
Nichole Mattera 9 months ago
committed by GitHub
parent
commit
8ec4318175
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      cogs/lists_verification.py

+ 9
- 0
cogs/lists_verification.py View File

@ -188,6 +188,15 @@ class ListsVerification(Cog):
await ctx.send('All members verified.')
@commands.check(check_if_staff)
@commands.command()
async def verifiedcount(self, ctx):
"""Prints the number of verified members"""
verified_role = ctx.guild.get_role(config.verified_role)
await ctx.send(
f"{ctx.guild.name} has " f"{len(verified_role.members)} verified members!"
)
# Listeners
@Cog.listener()


Loading…
Cancel
Save