Skip to content

Commit

Permalink
Update ban.md
Browse files Browse the repository at this point in the history
  • Loading branch information
devvyyxyz authored Nov 26, 2024
1 parent ba12b5b commit b4f0c32
Showing 1 changed file with 7 additions and 22 deletions.
29 changes: 7 additions & 22 deletions commands/moderation/ban.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The `/ban` commandallows server admins to permanently remove a member from the s

---

## Syntax
!!! Text command syntax
**\ban** **MEMBER(S)** **PARAMETER(S)**
!!!
Expand Down Expand Up @@ -36,22 +37,12 @@ This command will ban the user "@User123" with the reason: "Spamming inappropria
---

## **Parameters**

###`@user`
- **Type**: Mention or User ID
- **Description**: Specifies the user to ban.
- **Required**: Yes

### `reason`
- **Type**: Text
- **Description**: Explains why the user is being banned. This reason is logged and optionally shown to the banned user.
- **Required**: No

### `days`
- **Type**: Number (0-7)
- **Description**: Deletes the user’s messages ✉️ from the past `n` days (0 = none, 7 = all messages).
- **Required**: No
- **Default**: `0`
Paramater | Info
-- | --
[!badge variant="success" text="!user"] | Specifies the user to ban.
[!badge variant="success" text="?limit"] | A
[!badge variant="success" text="?reason"] | Explains why the user is being banned. This reason is logged and optionally shown to the banned user.
[!badge variant="success" text="?--silent"] | A

---

Expand Down Expand Up @@ -79,9 +70,3 @@ Make sure both you and the bot have the correct permissions to execute the comma

---

##**Additional Notes**
- Banned users cannot rejoin the server until unbanned via `/unban`.
- Reasons provided are visible in the server audit log.
- For bulk bans, consider scripting or contacting an administrator.
- Mistakenly banned someone? Use `/unban @user` to lift the ban.

0 comments on commit b4f0c32

Please sign in to comment.