# Softban

{% hint style="info" %}
`Softbanning a member will clear 7 days of their messages from the server.`
{% endhint %}

## Usage:

<table><thead><tr><th width="196">Command</th><th width="199.66666666666669">Options</th><th>Description</th></tr></thead><tbody><tr><td><code>a.softban</code></td><td>&#x3C;user> {reason}</td><td>Bans and immediately unbans the given member. </td></tr></tbody></table>

## Example:

<table><thead><tr><th width="297">Command</th><th>Description</th></tr></thead><tbody><tr><td><code>a.softban @member Annoying</code></td><td>kicks and removes all messages within 7 days from @member with reason "Annoying"</td></tr><tr><td><code>a.softban @member</code></td><td>kicks and removes all messages within 7 days from @member.</td></tr></tbody></table>

## Related Commands

{% content-ref url="ban" %}
[ban](https://documentation.lynnux.xyz/akira/moderation/ban)
{% endcontent-ref %}

{% content-ref url="kick" %}
[kick](https://documentation.lynnux.xyz/akira/moderation/kick)
{% endcontent-ref %}
