# WebHook

#### Step 1: Go to Discord Server

Open your Discord server where you want notifications

### Step 2: Channel Settings

* Right-click on the channel (e.g., `#reports`)
* Click **"Edit Channel"**

#### Step 3: Create Webhook

* Click **"Integrations"** tab
* Click **"Webhooks"**
* Click **"New Webhook"** or **"Create Webhook"**
* Give it a name (e.g., "PlayerReport Bot")
* Click **"Copy Webhook URL"**

### &#x20;**Configure Plugin**

Step 1: Open Config File

```
plugins/PlayerReport/config.yml
```

#### Step 2: Paste Webhook URL

```
discord:
  enabled: true
  webhook-url: "https://discord.com/api/webhooks/1234567890/AbCdEfGhIjKlMnOpQrStUvWxYz"
```

#### Step 3: Save and Reload

```
/reportreload
```


---

# 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.twocube.in/plugins/playerreport-plugin/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.
