CommandsCore Commands
/edithook
Edit a webhook's comment, broken flag, or secret without recreating it.
Updates one or more fields on an existing webhook. Only the fields you provide are changed — anything left unset is untouched.
Usage
Parameters
| Prop | Type | Default |
|---|---|---|
id | string | - |
comment | string | - |
broken | boolean | - |
webhook_secret | string | - |
Permissions
Requires Manage Server (MANAGE_GUILD).
Cooldown
60 seconds (per guild).
Notes
- If you set
webhook_secret, you must also update the Secret field in your GitHub webhook settings — GitHub will reject events signed with the old secret until you do. Prefer/resetsecretif you just want a fresh random secret DMed to you. - The command errors if the webhook doesn't exist in the current server.