# Discord Webhook

To create a discord webhook follow the following steps:

1. Click the **gear icon** (Edit Channel) of the channel you want to post to.
2. Click **Webhooks** in the left menu.
3. Click the **Create Webhook** button.
4. Enter a **Name** of your choice.
5. Click the **Copy** button of the **Webhook URL**.
6. Click the **Save** button.
7. Paste the **Webhook URL** in the script you want to use it.


---

# 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.okokscripts.io/others/discord-webhook.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.
