# /baninfo

{% hint style="warning" %}
Attention! Response on this command may contain sensitive data! Consider using the command in private chat with the bot.
{% endhint %}

### Configuration of the command <a href="#configuration-of-the-command" id="configuration-of-the-command"></a>

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

### Command usage <a href="#command-usage" id="command-usage"></a>

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

Command `/baninfo` supports the following arguments:

* username - the name of the user you want to get ban information to

Example: `/baninfo @username`


---

# 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/baninfo.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.
