# /mute

Bot's command `/mute` is able moderators and administrators to mute users of the group without a ban.

{% hint style="info" %}
Note. This command supports arguments! Read the following paragraphs for the details.
{% endhint %}

{% hint style="success" %}
Note. This command supports "quiet" mode. In this mode, your commands will be deleted, and members of your chat will not see any notifications\
To use "quiet" mode add "q" before the command (like /qmute instead of /,ute)
{% endhint %}

## Configuration of the command

This command doesn't require additional configuration and is enabled for all chats.

## Command usage

{% hint style="info" %}
This command is available only for moderators and administrators in the chat
{% endhint %}

### Simple usage

Just send `/mute` as a reply to any user's message and the user you reply to will be muted forever.

### Usage with arguments

Command `/mute` supports the following arguments:

* `duration` (optional) - the period for which the user will be muted. If not provided - the user will be banned forever\
  Xm - X **m**inutes\
  Xh - X **h**ours\
  Xd - X **d**ays
* `reason` (optional) - a reason for the mute will be saved and printed

#### Mute user by a mention

`/mute <mention> <duration> <reason>`

Arguments for the `/mute` command in this case are:

* `mention` (required) - any valid user mention (just type @ and then mention any user in your chat by username or by name)
* `duration` (optional) - the period for which the user will be muted. If not provided - the user will be banned forever\
  Xm - X **m**inutes\
  Xh - X **h**ours\
  Xd - X **d**ays
* `reason` (optional) - a reason for the mute will be saved and printed

#### Mute a user by reply

You can also mute a user by replying to their message with the `/mute` command

`/mute <duration> <reason>`

Arguments for the `/mute` command in this case are:

* `duration` (optional) - the period for which the user will be muted. If not provided - the user will be banned forever\
  Xm - X **m**inutes\
  Xh - X **h**ours\
  Xd - X **d**ays
* `reason` (optional) - a reason for the mute will be saved and printed
