title: Discord banall command not working | discord.py
body: <p>Hello I am creating a banall command for discord on a bot but it doesn't work for some reason please correct the code or give me a working command for ban all or mass ban</p>
  <p>The Code:</p>
  <pre><code>    for users in ctx.guild.user:
          try:
              await user.ban(reason=reason)
              print(f&quot;[-] BAN : Banned {user}&quot;) 
          except:
              pass
  </code></pre>