# $webhookDeleteMessage

Deletes a message sent by a webhook. Bot Creator function, not in the official BDFD wiki.

## Syntax

```
$webhookDeleteMessage[webhookURL;messageID;(threadID)]
```

## Parameters

| Parameter | Description |
|---|---|
| `webhookURL` | **Required.** The full Discord webhook URL (`https://discord.com/api/webhooks/ID/TOKEN`). |
| `messageID` | **Required.** The ID of the message. |
| `threadID` | Optional. The thread of the message, if it was sent in one. |

## Return Value

- Nothing.

## Example

```bdfd
$webhookDeleteMessage[$getVar[hook];$messageID]
```
