Skip to content

Commit

Permalink
cast members to list in massban
Browse files Browse the repository at this point in the history
  • Loading branch information
lmaotrigine committed Nov 28, 2023
1 parent 06fb007 commit c3fb020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/mod.py
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@ def joined_before(member, *, _other=args.joined_before):
return await ctx.send('Aborting.')

count = 0
for member in members.values():
for member in list(members.values()):
try:
await ctx.guild.ban(member, reason=reason)
except discord.HTTPException:
Expand Down

0 comments on commit c3fb020

Please sign in to comment.