> ## Documentation Index
> Fetch the complete documentation index at: https://docs.razebot.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Webhooks

> Create and manage webhooks in your server, including message forwarding between channels.

# Webhooks

> Create and manage webhooks in your server, including message forwarding between channels.

## Overview

raze can create and manage webhooks directly from Discord. Webhooks are stored by name so you can reference them easily for renaming, avatar changes, or forwarding.

## Create

Create a webhook in a channel. The name is optional and defaults to `Raze Webhook`.

<CodeGroup>
  ```bash Syntax theme={null} theme={null}
  ;webhook create (#channel) [name]
  ```

  ```bash Example theme={null} theme={null}
  ;webhook create #announcements News Bot
    ;webhook create #general
  ```
</CodeGroup>

## Delete

Delete a webhook by its name.

<CodeGroup>
  ```bash Syntax theme={null} theme={null}
  ;webhook delete (name)
  ```

  ```bash Example theme={null} theme={null}
  ;webhook delete News Bot
  ```
</CodeGroup>

## Rename

Change a webhook's display name.

<CodeGroup>
  ```bash Syntax theme={null} theme={null}
  ;webhook name (current name) (new name)
  ```

  ```bash Example theme={null} theme={null}
  ;webhook name "News Bot" "Breaking News"
  ```
</CodeGroup>

## Avatar

Set a webhook's avatar from an image URL.

<CodeGroup>
  ```bash Syntax theme={null} theme={null}
  ;webhook avatar (name) (image url)
  ```

  ```bash Example theme={null} theme={null}
  ;webhook avatar "News Bot" https://example.com/avatar.png
  ```
</CodeGroup>

## Forward

Forward messages from one channel to another via webhook automatically.

<CodeGroup>
  ```bash Syntax theme={null} theme={null}
  ;webhook forward (#source) (#destination)
  ```

  ```bash Example theme={null} theme={null}
  ;webhook forward #news #announcements
  ```
</CodeGroup>

## View

List all webhooks managed by raze in this server.

```bash theme={null} theme={null}
;webhook view
```
