BuildcordDocs

Ban a member

Remove a member from the server for good.

member.ban removes a member and stops them rejoining until someone unbans them.

Settings

SettingWhat it does
MemberWho to ban. See Members.
Audit log reasonThe reason Discord records.
Delete their messages from the lastNone, an hour, a day, 3 days or a week, or any length up to 7 days, such as 12h.

Ways out

out. Turn on If it fails for a red way out.

Notes

  • The bot needs the Ban Members permission, and its highest role must sit above the member's.
  • The canvas shows the reason, or "No reason given".
  • Older flows had a switch for the last 24 hours of messages. It now reads as a day.

Guard it with a Permissions check. A ban is hard to undo.

On this page