# Administrative Functionalities

Goat AI Bot comes equipped with powerful administrative features to help you manage your Telegram group effectively. Below are the available administrative operations and their usage methods. Please note that all commands can be used with either `/` or `!` prefixes.

### 1. Kick Operation

The kick operation allows you to remove a user from the group. Use one of the following methods:

**Usage Method 1:**

```bash
/kick <username>
```

**Usage Method 2:** Reply to the user's message with:

```bash
/kick
```

The bot will extract the username from the replied message.

### 2. Ban Operation

The ban operation not only removes a user from the group but also prevents them from rejoining. Utilize one of the following methods:

**Usage Method 1:**

```bash
/ban <username>
```

**Usage Method 2:** Reply to the user's message with:

```bash
bashCopy code/ban
```

Similar to the kick operation, the bot will extract the username from the replied message.

**Note:** The ban operation automatically kicks the user and disallows them from rejoining the group.

### 3. Mute Operation

The mute operation restricts a user from sending messages for a specified duration. Choose one of the following methods:

**Usage Method 1:**

```bash
/mute <username>
```

*(Uses the default mute duration of 1 hour or as configured in bot settings.)*

**Usage Method 2:**

```php-template
/mute <username> <duration> in hours
```

**Usage Method 3:** Reply to the user's message with:

```bash
/mute
```

The bot will extract the username from the replied message and apply the default mute duration.

### 4. Unmute Operation

The unmute operation removes the restriction on a muted user. Utilize the following method:

**Usage Method:**

```bash
/unmute <username>
```

*(or reply to the user's message with /unmute)*

### 5. Status Operation

Check the status of a user with the status operation. Use one of the following methods:

**Usage Method 1:**

```bash
/status <username>
```

**Usage Method 2:** Reply to the user's message with:

```bash
/status
```

The bot will extract the username from the replied message.

This operation provides details about the user, including their join date, last seen, and mute status.

This commands can be used with either `/` or `!` will work


---

# 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://grooves-organization.gitbook.io/goat-ai-assistance/administrative-functionalities.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.
