Discord has no single built-in “ban” slash command that works in every server. To ban someone, use the server’s Ban action from their profile or the member list, or use a moderation bot’s command if one is configured; you need the appropriate server permission either way.
What “Discord ban command” means
The phrase usually refers to one of two things: Discord’s own interface for banning a server member, or a text or slash command provided by a moderation bot. Discord’s native interface is available without installing a bot. Bot commands vary by bot, server configuration, and permissions, so there is no universal command such as /ban that can be assumed to work everywhere.
A server ban prevents the account from joining that server while the ban remains in place. It is different from a timeout, which temporarily limits a member’s ability to communicate, and from a kick, which removes a member but generally allows them to rejoin through a valid invite.
How to ban someone in Discord
In the Discord app or desktop client, open the server and find the member you want to remove. Depending on the interface, you can select the member in the member list or open their profile from a message, then use the server moderation options and choose Ban. Review the confirmation dialog before completing the action. Discord’s labels and layout can change between app versions, but the action is available through member moderation controls.
You can also use Server Settings to manage bans. This is particularly useful for reviewing existing bans or unbanning someone later. Menu names and locations can differ slightly between desktop, browser, and mobile versions.
- Confirm that you are acting in the correct server and have a legitimate moderation reason.
- Open the member’s profile or locate them in the server’s member list.
- Choose the server’s Ban action and check the confirmation details.
- If shown, choose whether to delete some recent message history, then confirm the ban.
- Record the reason in your moderation notes or the server’s mod log if your team uses one.
You can ban a member even if they are not currently online by using the server’s ban controls and selecting the relevant account when available. If you cannot find the account or the option, check your role permissions and the server’s moderation settings.
Using a moderation bot command
Many servers add bots to help moderators apply rules consistently, log actions, and manage appeals. A bot might offer a slash command such as /ban, or a text command with a configured prefix. The exact syntax is specific to that bot and server. For example, one bot may ask you to select a member and enter a reason in a slash-command form, while another may use a different command or offer a dashboard instead.
To find the correct command, check the bot’s official help command, documentation, or the server’s moderation guide. Do not copy a command from an unrelated server and assume it will work: the bot may not be installed, the command may have been disabled, and the syntax or required options may differ.
- Use the bot’s documented command format, including the correct member selection and any required reason.
- Check whether the bot has permission to ban members and whether its role is high enough in the server’s role hierarchy.
- Make sure you have permission to run that specific command; some servers restrict bot moderation tools to designated staff.
- Look for a confirmation or log entry so you can tell whether the action succeeded.
Permissions and role hierarchy
Discord’s Ban Members permission is generally required to ban members through native server controls. Server owners have broad authority over their server, but other moderators need the relevant permission assigned to their role or granted directly. Having a role called “Moderator” does not automatically mean it includes ban access; permissions are configurable.
Role hierarchy also matters. A moderator generally cannot use moderation controls against a member whose highest role is equal to or above the moderator’s highest role. A bot can face a similar hierarchy limitation: its role must be positioned appropriately for the action it is asked to perform. If the ban option is missing or an attempt fails, an administrator should review both permissions and role order rather than repeatedly trying the same command.
Ban, kick, timeout, and alternatives
Choose an action that fits the behavior and the server’s rules. A ban is a strong measure because the account cannot rejoin the server while it remains active. A kick removes someone but does not itself block them from returning. A timeout is intended to restrict a member’s ability to send messages or otherwise participate for a limited period, without removing them from the server.
- Ban: Use when the situation warrants barring the account from the server, such as serious or repeated rule violations.
- Kick: Use when removal is needed but a continuing block is not.
- Timeout: Use for a temporary communication restriction when a full removal is unnecessary.
- Warning or message removal: Consider for lower-level issues when your rules and moderation process allow it.
Do not treat a ban as a guaranteed way to prevent someone from ever returning under any circumstances. Discord’s enforcement tools apply to accounts and server access; server features and platform policies can change, and moderation teams should use the controls currently available in their settings.
Reasons, message deletion, and appeals
When banning someone, Discord may offer an option to delete a period of their recent messages. Read the choices carefully: deleting messages is separate from preventing future access, and it can remove context that moderators or other members may need. If evidence matters, follow your server’s procedures for documenting it before taking an action that removes content.
A clear reason helps moderators stay consistent and gives the affected person useful context if the server provides an appeal process. Keep notes factual: identify the rule involved and the relevant behavior, rather than adding insults or speculation. A bot’s reason field or moderation log can help, but do not assume a reason is automatically visible to the banned person; that depends on the tool and how your server communicates decisions.
For mistakes, use the server’s ban list to review and remove a ban. Unbanning only lifts the server-level block; it does not necessarily invite the person back. They may still need a valid invite, and the server can decide whether to provide one under its rules.
Frequently Asked Questions
What is the Discord ban command?
Discord does not have one universal ban command. Use the server’s native Ban action, or consult the documentation for the moderation bot installed in that server.
Can I ban someone without a bot?
Yes. Use Discord’s member moderation controls, provided you have the required permission and the target is eligible under the server’s role hierarchy.
Why can’t I ban a member?
You may lack the Ban Members permission, the member may be above or equal to you in the role hierarchy, or the interface or bot may be unavailable or configured differently. Ask a server administrator to check those settings.
Does banning someone delete all their messages?
No. Banning and deleting message history are separate. If Discord presents a message-deletion choice, review its time range and implications before confirming.
Can a banned member rejoin?
Not while the server ban remains active. A moderator with the required access can remove the ban, after which the person may still need a valid server invite.
Is a kick the same as a ban?
No. A kick removes a member but does not by itself block them from joining again. A ban blocks the account from that server until the ban is lifted.