# Server Actions

Server actions are action blocks that allows the bot to perform server related actions that affect a server member or manage the server.

| Block                                                                                                                                       | Information                                                                                                                                |
| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| [Kick a member](https://documentation.botghost.com/custom-commands-and-events/actions/server-actions/kick-a-member)                         | This block will kick a specified member from a server.                                                                                     |
| [Ban a member](https://documentation.botghost.com/custom-commands-and-events/actions/server-actions/ban-a-member)                           | This block will ban a specified member from a server.                                                                                      |
| [Timeout a member](https://documentation.botghost.com/custom-commands-and-events/actions/server-actions/timeout-a-member)                   | This block will timeout a specified member from a server.                                                                                  |
| [Change a members nickname](https://documentation.botghost.com/custom-commands-and-events/actions/server-actions/change-a-members-nickname) | With this block you are able to change a server members' nickname.                                                                         |
| [Purge messages](https://documentation.botghost.com/custom-commands-and-events/actions/server-actions/purge-messages)                       | This block allows you to purge a specific amount of messages in a specific channel.                                                        |
| [Leave Server](https://documentation.botghost.com/custom-commands-and-events/actions/server-actions/leave-server)                           | With this action, you can make the bot to leave a server.                                                                                  |
| [Create Server Invite](https://documentation.botghost.com/custom-commands-and-events/actions/server-actions/create-server-invite)           | This block will create a server invite for a specific server that can be created to have many specifications, such as uses, duration, etc. |


---

# 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://documentation.botghost.com/custom-commands-and-events/actions/server-actions.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.
