N
N
Nyxoy2021-11-21 12:22:15
Python
Nyxoy, 2021-11-21 12:22:15

How to ban_all discord py?

Hello, I made this code
I can not understand why it does not work Help!

@client.command()
async def allban(ctx):
async for member in guild.fetch_members(limit=None):
       await member.ban(reason=None)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question