# Slowmode

## Usage

```javascript
/slowmode [#channel] <duration>
```

| Name     | Description                          | Type    | Required |
| -------- | ------------------------------------ | ------- | -------- |
| channel  | The channel you want to set slowmode | Channel | No       |
| duration | The duration for slowmode cooldown   | String  | Yes      |

{% hint style="info" %}
Duration types\
s - second , m - minute , h - hour
{% endhint %}

{% hint style="info" %}
If <mark style="color:yellow;">\[#channel]</mark> is leaved blank, the bot will locks the current channel (where the slowmode command is executed)
{% endhint %}

{% hint style="danger" %}
The duration should not exceed 6 hours!
{% endhint %}
