# Utility

## User and Server Info:

```
%userinfo {user}
%serverinfo
```

The two above commands will send info on the user mentioned or the server the command is run in.

## Lock, Unlock, and Slowmode Channels:

You can lock or unlock channels (disable or enable users from sending messages) easily using these commands:

```
%lock {channel}
%unlock {channel}
```

You can also set channel slowmodes. This will prevent spam. The command can be run like this:

```
%slowmode <seconds> {channel}
```

{% hint style="info" %}
These commands are for those who have **manage channels** permissions. If the command does not work on the specified channel, this is likely because channel permissions are set up improperly.
{% endhint %}

## Creating Embeds:

You can easily create custom embeds for your server using our interactive embed command:

```
%embed
```

The result will look something like this:

![](/files/-M_3wFGL__iFCSikqKbW)

## \*Making Announcements:

Making announcements through Server Builder is easy! You can choose which channel you'd like the announcement to be sent to and the role you'd like to ping. Run the command like so:

```
%announce <channel> {role}
```

The result will look something like this:

![](/files/-M_3xbD2d53DJRoapdNq)


---

# 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://serverbuilder.gitbook.io/docs/segments/utility.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.
