# AFK

## /afk set

This command enables AFK mode for you. While you are AFK, members are getting notified, once they mention you in a message (this does **not** include message replies!). \
The bot will also update your nickname (if it can) and add  a "\[AFK]" tag in front of it, to show everyone that you are AFK.

![\[AFK\] tag will always be added in front of your nickname, if possible.](/files/PcCyvmWdj16mUYi2GyoK)

{% hint style="warning" %}
Bot needs Manage Nicknames permission in order to change the nickname of members. If the permission is denied, the bot cannot change the nickname.
{% endhint %}

```
/afk set
```

## /afk remove

This command removes your AFK. You can also just send a message in any server you share with ManageBot, in order to get your AFK removed. When your AFK is removed, the \[AFK] tag will be removed on the server where you originally set your AFK, even when you wrote in another server. This requires, that you share that server with ManageBot.

{% hint style="warning" %}
Bot needs Manage Nicknames permission in order to change the nickname of members. If the permission is denied, the bot cannot change the nickname.
{% endhint %}

```
/afk remove
```

## /afk check

Check if a user is AFK. Useful, when you don't want to ping them.

```
/afk check <user>
```


---

# 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.managebot.xyz/command-categories/afk.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.
