guild_modify_widget
Enable or disable a Discord server's widget and set the invite channel for its embed. Returns the updated widget configuration.
Instructions
Purpose: Update widget settings (toggle enabled, set invite channel).
When to use:
Toggle the public widget on/off, change which channel an embed-invite points at.
Returns: {enabled, channel_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | ||
| guild_id | Yes | Guild to modify | |
| channel_id | No | ||
| audit_reason | No | Reason recorded in audit log (X-Audit-Log-Reason header) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||