Discord icon

Discord

Interact with Discord API - users, messages, webhooks, guilds, interactions, and more

Actions193

Guild → Modify Widget

AI-generated

Summary

Updates a Discord guild’s widget settings, including whether the widget is enabled and its invite channel. The operation targets the guild ID you provide and can include an audit log reason.

Inputs

  • Authentication — Choose Bot Token (the default) or OAuth2 (User Token).
  • Guild (required) — Discord guild ID to update.
  • Enabled — Whether to enable the guild widget; defaults to false.
  • Channel ID — Invite channel ID for the widget; leave empty to clear it.
  • Audit Log Reason — Reason recorded in the guild audit log; Discord limits it to 512 characters.
  • Request Options — Optional request settings for batching, SSL certificate validation, proxy, and timeout.

Output shape

A single Discord API response record

The source pack does not expose the Guild implementation body, so the exact response fields are unspecified.

Links

Discussion