Moderation

What Is a Softban in Discord? Meaning, Uses, and How to Do It

A softban in Discord is a ban immediately followed by an unban. Banning can delete a member's recent messages, so a softban quickly wipes someone's spam from every channel while still letting them rejoin. Discord has no softban button. You ban with message deletion and then unban, or use a moderation bot such as Security Bot with /softban.

By Sina, Founder, Security BotUpdated (published )8 min read

Softban meaning

Discord's ban dialog has an option to delete the member's message history from the previous hour up to the previous seven days. A softban uses that side effect on purpose: ban to delete the messages, then unban so the person can come back. The member is removed from the server for a moment, loses their roles, and receives no permanent ban.

Think of it as a kick with cleanup. A kick removes the person and leaves the mess. A softban removes the mess and the person, then leaves the door open. Discord itself has three punishments: timeout, kick, and ban. A softban is a ban followed by an unban.

Softban vs kick vs ban vs timeout

ActionRemoves memberDeletes messagesCan rejoinBest for
TimeoutNoNoStill in serverCooling off: up to 1 week from the Discord app, up to 28 days through bots
KickYesNoYes, immediatelyA warning with teeth
SoftbanYes, brieflyYes, up to 7 daysYes, immediatelySpam cleanup, compromised accounts
BanYesOptionalNoPermanent removal

When to use a softban

  • Spam from a real member. Their account may be compromised or they may be having a bad night. A softban clears the spam everywhere and lets them come back after they fix their account.
  • Scam link cleanup. One softban removes a phishing link from all channels at once instead of deleting messages by hand.
  • Raid accounts you do not want to ban permanently. Rarely worth it. For a raid, bulk-ban from the Members page or let anti-raid act on the wave.
  • Resetting roles. A softban strips every role, which is a quick way to reset someone who was given too much.

A softban is not a punishment for repeat offenders. If the same member keeps spamming, use a timeout or a real ban. Softbans do not stop them from rejoining.

How to softban without a bot

  1. Right-click the member and choose Ban.
  2. Under Delete message history, pick Previous 7 Days (or a shorter window).
  3. Confirm the ban.
  4. Open Server Settings > Bans, find the member, and click Revoke Ban.

The manual method needs the Ban Members permission, which also lets the moderator ban permanently. That is one reason servers move softbans behind a bot with limits.

How to softban with Security Bot

Run /softban user:@member, optionally with reason: and delete_days:. The bot bans the member and deletes their messages from the last day (or up to 7 days if you set delete_days). It then unbans them immediately and logs the action to your moderation log with the moderator, the reason, and the deletion window.

Moderators do not need Ban Members on their role if you grant the Softban command on the Moderation page of the dashboard instead.

Because the bot performs the ban, a compromised moderator account cannot use softbans to mass-remove members. While the Anti Ban and Anti Kick triggers are on, /softban, /ban, /banid, and /kick are capped at your anti-nuke ban or kick limit per moderator per 10 minutes.

At the cap the command is refused with "You have reached the ban limit, try again later." until the counter resets. The server owner and Administrators ranked above Security Bot are not capped.

  1. Grant the softban command

    On the Moderation page of the Security Bot dashboard, add the moderator and select Softban. Their role then does not need Ban Members.

  2. Set a moderation log channel

    On the Logging page choose the channel where bans, softbans, and kicks are recorded with the moderator, target, and reason.

  3. Run the command

    The bot bans the member and deletes their messages from the last day by default (up to 7 with delete_days:). It then unbans them immediately and writes the entry to the moderation log. reason: and delete_days: are optional.

    Command: /softban user:@member reason:Scam links delete_days:2

  4. Follow up

    If the member was legitimate, tell them they can rejoin through any invite. They will need to pass verification again and get their roles back by hand.

An example: a regular member's account starts posting a fake Nitro link in six channels at once. Deleting the messages by hand means opening six channels while the account keeps posting. Instead, a moderator with the softban permission runs /softban user:@member reason:compromised account.

Security Bot bans the account, which deletes its recent messages in every channel, then unbans it straight away. The moderation log records the moderator, the target, and the reason. The softban also counts toward that moderator's ban cap, which is what you want. A moderator account that suddenly tries to softban twenty people is refused once it reaches the anti-nuke ban limit.

Once the real owner recovers their account, they rejoin through any invite, pass verification again, and a moderator restores their roles. Total cleanup: one command and one role edit.

Softbans and the ban cap

While the Anti Ban and Anti Kick triggers are on, Security Bot caps ban, softban, banid, and kick commands per moderator at the ban or kick limit you set for anti-nuke. The counters reset every 10 minutes.

The setup guide suggests a ban limit of 2 for servers under 1,000 members and 3 for larger ones. A moderator who softbans three compromised accounts in a row on a large server reaches that cap, and the next softban is refused. Nobody is punished for it.

If your team regularly needs more, raise the ban limit with /setlimit action:Banning Members limit:4 or on the Anti-Nuke page. A whitelist entry does not raise the command cap. Whitelisting only exempts people from anti-nuke for actions they take directly in Discord. Do not turn the ban trigger off to get around the cap, because that also removes anti-nuke's protection against native mass bans.

Who can run /softban

Security Bot runs /softban when the user:

  • Is the server owner.
  • Holds Ban Members and has a role above Security Bot's role.
  • Has the Softban permission from the Moderation page.

In every case the moderator must be ranked above the target, and the bot's role has to sit above the target too.

That last point breaks more setups than anything else. If your Moderator role sits above the Security Bot role in Server Settings > Roles, the bot cannot softban moderators, and those moderators are also exempt from anti-nuke limits. Drag the bot's role to the top.

Common softban mistakes

  • Using it on repeat offenders. A softban is a reset, not a punishment. The third softban for the same person should be a timeout or a real ban. See ban, kick, or timeout.
  • Choosing the wrong deletion window. If the spam started two days ago, a one-hour window in the Discord dialog, or Security Bot's one-day default, leaves part of it behind. Set the window to cover the whole spam run.
  • Softbanning a raid one account at a time. Raid accounts arrive by the dozen. Select them on the Members page and ban them together, or let anti-raid on Premium time out or ban the wave, and keep softban for individual members.
  • Giving moderators Ban Members so they can softban by hand. That permission also allows permanent bans and mass bans. Give them the softban command through the bot instead.
  • No moderation log channel. Without one, the audit log shows a ban and an unban with no context, and the next moderator on shift may assume the ban was reverted by mistake.

Softban versus the rest of the moderation toolkit

ToolWhat it doesUse it when
/softbanBan, delete recent messages, unbanOne member's spam or scam links need wiping everywhere
/muteApplies a Discord timeout for the duration you give (required, up to 28 days)The member should stay but stop talking
Timeout from the Discord appThe same native timeout, 60 seconds to 1 weekA short cooling-off period
/clearBulk deletes messages in the current channelThe mess is in one channel and the sender is already gone
/banPermanent removalThe member should not come back

Every Security Bot moderation command except /clear and /raid ban (Premium) writes to the moderation log, so the team sees one timeline of what was done and by whom. Softban sits in the middle of that list: more than a kick, less than a ban, and faster than deleting messages by hand.

What the member sees

They are removed from the server and see it disappear from their server list. Security Bot does not message them, so tell them yourself if they should know why. Any valid invite still works, so they can rejoin straight away, without their previous roles, and will need to pass verification again if you use it.

Softban limitations

  • Message deletion is capped at 7 days. Older messages stay.
  • Roles are lost. Give them back manually if the person was legitimate.
  • One account at a time. Softbanning many accounts is slow and stops at your ban cap. For waves, use the Members page bulk ban or anti-raid.
  • Audit log shows a ban and unban, which confuses staff who do not know the pattern. A moderation log entry from the bot makes it clear.

Do this with Security Bot

Discord Moderation Bot: Give staff moderation tools without handing out risky Discord permissions across the server.

Security Bot gives moderators ban, kick, softban, mute, lock, and clear commands. You get per-user access, a cap on bot bans and kicks, and a moderation log. Staff can moderate through the bot without Ban Members, Manage Channels, or Administrator on their role.

Frequently asked questions

What does softban mean in Discord?

A ban followed immediately by an unban. It deletes the member's recent messages (up to 7 days) and lets them rejoin.

Is softban a built-in Discord feature?

No. You ban with message deletion and then revoke the ban, or use a moderation bot with a softban command.

Does a softban delete all messages?

Only messages from the last 7 days at most, depending on the deletion window you choose. Security Bot's /softban deletes one day by default. Set delete_days for up to 7.

Can a softbanned user rejoin?

Yes, immediately, through any valid invite. They lose their roles and must verify again if the server uses verification.

What permission is needed to softban?

Ban Members for the manual method. With Security Bot, either Ban Members plus a role above Security Bot's role, or the Softban permission granted on the Moderation page, which needs no Discord permission.

Does a softban count toward the anti-nuke ban limit?

It counts toward the same number. While the Anti Ban and Anti Kick triggers are on, /softban, /ban, /banid, and /kick are capped per moderator at your anti-nuke ban or kick limit per 10 minutes. Further uses are refused until the counter resets. A whitelist entry does not raise the cap, so raise the ban limit instead.

Can I softban a member ranked above me?

No. You can only softban members whose highest role is below your own, and the bot's role must be above theirs too.

How this guide was made: drafted with AI assistance, then checked against Security Bot's source code and Discord's official help articles. Spotted something out of date? Tell us in the support server.