> For the complete documentation index, see [llms.txt](https://docs.projectfatal.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.projectfatal.xyz/commands/moderation/ban.md).

# Ban

Bans the user from your guild. Requires the "Ban Members" permission to use.

The user is required to input the member they want to ban, if they don't, they cannot run the command.

![](https://455014626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWDhLy7fnucL67uEj10BQ%2Fuploads%2F9XqJtK3V5TnIZvhq67Wu%2F2022-08-10%2012_15_56-Window.png?alt=media\&token=08d854cc-0530-46b4-a4f9-f2dae785576e)

The user does not have to input the reason, it is optional. If the reason isn't stated, then it will return back as "None Provided".

If the user executes the command without the correct permissions it will throw an error.

![](https://455014626-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWDhLy7fnucL67uEj10BQ%2Fuploads%2FDup5d8SrFeGZELsfThfO%2F2022-08-10%2012_19_50-Window.png?alt=media\&token=55cbc6ea-9298-4608-80e1-9ae4d0e694b9)
