Browse Source

This is no longer needed.

main
Nichole Mattera 1 year ago
committed by GitHub
parent
commit
708c6c2d58
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      cogs/mod.py

12
cogs/mod.py

@ -17,18 +17,6 @@ class Mod(Cog):
def check_if_target_is_staff(self, target):
return any(r.id in config.staff_role_ids for r in target.roles)
@commands.guild_only()
@commands.check(check_if_bot_manager)
@commands.command()
async def snap(self, ctx):
await ctx.send(len(ctx.guild.members))
i = 0
for member in ctx.guild.members:
if len(member.roles) == 1 or (len(member.roles) == 2 and member.roles[1].id == config.verified_role):
await member.kick(reason="Snapped")
await ctx.send("Finished.")
@commands.guild_only()
@commands.check(check_if_bot_manager)
@commands.command()

Loading…
Cancel
Save