Skip to content
Webhooks editWebhook

$editWebhook

Renames a webhook or moves it to another channel. This function is a Bot Creator extension: it does not exist in the official BDFD wiki. It runs the same Discord logic as the matching block.

Syntax

$editWebhook[webhookID;name;channelID]

Parameters

Parameter Description
webhookID Required. The webhook ID (see $listWebhooks).
name The new name. Empty keeps the current one.
channelID Optional. The channel to move the webhook to.

Return Value

  • Type: String
  • Always empty.

Behavior

  • The bot needs Manage Webhooks.

Examples

$editWebhook[123456789012345678;Logs]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.