# /unban

Bot's command `/unban` is able moderators and administrators to unban previously banned users.

{% 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 /qunban instead of /unban)
{% 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 /unban as a reply to any user's message and the user you reply to will be unbanned.

### Usage with arguments

Command `/unban` supports the following arguments:

* Reason - the unban reason that will be saved

#### Unban user by a mention

`/unban <mention> <reason>`

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

* `mention` (required) - any valid user mention (just type @ and then mention any user banned in your chat by username or by name)
* `reason` (optional) - a reason for the unban will be saved and printed

#### Unban a user by reply

You can also unban a user by replying to their message with the unban command

`/unban <reason>`

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

* `reason` (optional) - a reason for the unban will be saved and printed


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fullyst.com/fullyst-bots-commands/unban.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
