> For the complete documentation index, see [llms.txt](https://docs.fullyst.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fullyst.com/fullyst-bots-commands/warn-and-rm_warn.md).

# /warn & /rm\_warn

## Command /warn

Bot's command `/warn` able moderators and administrators to increase the warning level for a user, when warn count reaches the number you'd set up, the user will be banned.

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

### Configuration of the command

* Press the button "Chat settings" near the selected chat on the ["My chats" page](https://fullyst.com/my_chats)
* Open "Moderation" settings by clicking the corresponding menu item
* Enable `/warn` command on the page
* Set the number of warnings after which the user will be blocked

<figure><img src="/files/xTjwFYGbm5iCf02j3G3h" alt=""><figcaption><p>Moderation settings</p></figcaption></figure>

### Command usage

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

#### Simple usage

Just send `/warn` as a reply to a message and the author receive a warning.

<figure><img src="/files/tznwpo6lVVuX6SLcNX59" alt=""><figcaption><p>How to warn user</p></figcaption></figure>

In the answer, the bot will send a warning message with a current count of warnings

<figure><img src="/files/xwIU6wmqakqgzfyhjccm" alt=""><figcaption><p>Answer from the bot (in this case user will be banned)</p></figcaption></figure>

#### Usage with arguments

Command `/warn` supports one argument

* reason - the reason of warning

<figure><img src="/files/PjRQssK8iJpYrqEZxl7j" alt=""><figcaption><p>Increase warn level for the user and delete the message</p></figcaption></figure>

## Command /rm\_warn

Bot's command `/rm_warn` resets the warning level for the user.

### How to use

{% hint style="info" %}
This command has a link: /rm\_wans. Both commands do the same, so you may use any of these.
{% endhint %}

Just send `/rm_warn` or `/rm_warns` as a reply to the user's message

<figure><img src="/files/nulEUFLGuOrkPZwGTxyw" alt=""><figcaption><p>How to clear warn count for user</p></figcaption></figure>

As a reply to the message user will receive a notification that the warnings have been removed

<figure><img src="/files/acQYUCmgFEJZOGalapdw" alt=""><figcaption><p>Notification for the user</p></figcaption></figure>
