# Pin Message

**Introduction**&#x20;

This step is used to pin a specific message in a channel within a guild or private channel (custom bots).

**Configuration**

* **Message**: Select the message that you want to pin. This is a required field.

**Usage**&#x20;

Useful for highlighting important messages, announcements, rules, or any content that needs to be easily accessible and visible to all members of the channel.

**Permissions**

* Requires both the "View Channel" and "Manage Messages" permissions to pin messages in a channel.


---

# 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.flexy.bot/modules/discord/steps/pin-message.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.
