Browse Source

Verify all members.

main
Nichole Mattera 9 months ago
parent
commit
b6d88e926b
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      cogs/lists_verification.py

+ 11
- 0
cogs/lists_verification.py View File

@ -176,6 +176,17 @@ class ListsVerification(Cog):
if rules_channel is not None and verification_channel is not None:
await self.reset_verification_channel(rules_channel, verification_channel)
@commands.check(check_if_staff)
@commands.command()
async def verifyall(self, ctx):
"""Gives everyone the verification role"""
verified_role = ctx.guild.get_role(config.verified_role)
for member in ctx.guild.members:
await member.add_roles(verified_role)
await ctx.send('All members verified.')
# Listeners
@Cog.listener()


Loading…
Cancel
Save