> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bleed.bot/llms.txt
> Use this file to discover all available pages before exploring further.

# Syntax

> General explanation of the syntax used for commands.

## Formatting a duration

When a command requires a `duration:` parameter, you format it as a number followed by a unit. The unit can be one of the following:

* `s` for seconds.
* `m` for minutes.
* `h` for hours.
* `d` for days.
* `w` for weeks.

For example, `1d` represents one day, and `1w` represents one week. You can also combine units, for example, `1w2d` represents one week and two days.

```javascript Correct theme={null}
/timeout add member:@member duration:1w
/timeout add member:@member duration:2d3h
```

```javascript Incorrect theme={null}
/timeout add member:@member duration:1 hour
/timeout add member:@member duration:2 days 3 hours
```

## Punishments

When a command has a `punishment:` parameter, you can use it to specify the action to take. The available actions are:

* `warn` to warn the user.
* `jail` to jail the user.
* `kick` to kick the member from the server.
* `ban` to ban the member from the server.
* `delete` to delete the message if applicable.
* `stripstaff` to remove the staff role from the member.
  * This is only available for **antinuke** commands.
  * This will only work for roles set via the `/settings staff set` command.
  * You can find more information about setting staff roles in the [moderation](https://docs.bleed.bot/security/moderation.md#setting-staff-roles) section.

For example, to warn a user, you would use `punishment:warn`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.