Create webhook
create_webhookCreates a webhook for a Discord channel. Requires the Manage Webhooks permission and a valid channel and name.
Instructions
Create a webhook for a channel. Requires Manage Webhooks permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Webhook name (1-80 characters). | |
| avatar | No | Avatar image URL for the webhook. | |
| server | No | Server (guild) name or id. Optional when the bot is in a single server or DISCORD_GUILD_ID is set. | |
| channel | Yes | Channel to attach the webhook to (name or id). |