discord.updateWebhook updates a Discord webhook name, avatar, or channel.
automations/discord-update-webhook.automation.ts
Inputs
RequiredwebhookId. Optional name, avatarDataUri, destination channelId, and audit-log reason; use null to clear the avatar. Names cannot contain Discord or Clyde, case-insensitively. Optional second argument { account } selects the Discord binding.
Output
Returns the updatedDiscordWebhook without its token or executable URL.
Discord behavior
RequiresMANAGE_WEBHOOKS; moving a webhook requires access to both channels.