1. Moderation Commands
  2. Ban

Moderation Commands

Ban

Documentation for the ban command.

Description

The ban command is used to ban a member from the server. You can also specify a duration and a reason for the ban.

Command Variations

The ban command can be used either as slash ( /ban ) or text ( j!ban ) command.

NOTE

If you use a different prefix than the default j! prefix, then you should use that prefix.

Usages

        ban <member> [duration] [reason]
ban <member> [reason]
ban <member>

      

Examples

        ban @ToborWinner 4d Your behaviour is why you get this 4 days ban.
ban @ToborWinner I am banning you because of your behaviour.
ban @ToborWinner

      

Restraints

You can't ban a user that is not in the server.

The target must have a lower role than you (unless you are the owner).

You must have the permission to run the command.

The duration can't be lower than 1 minute or higher than 68 years.

The reason can't be longer than 512 characters or contain weird characters.

You can't ban a member that is already banned.

You can't ban the owner of the server or anyone that the bot doesn't have permission to ban.

You can for example ban a normal user if you have the right permissions.

Arguments

Argument Type Description Required Default
member Member The member you want to ban. Yes N/A
duration Duration The duration of the ban. No Permanent
reason String The reason for the ban. No N/A

Aliases

  • none

DMs

The bot will send a message to the user that was banned by default. To change this setting, you can use the dashboard moderation settings.