$modifyWebhook
$modifyWebhook
will modify a given webhook.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
webhookID | number | The webhook ID to modify. | true |
name | string | New webhook name. | true |
avatar | string | New webhook avatar. | true |
channelID? | number | ID of the channel where the webhook is located in. | false |
reason? | string | Reason that will be displayed in the guild’s audit logs. | false |
Example(s)
This will modify a existing webhook and change it’s avatar to your user avatar: