Expand description
Guilds (servers).
Structs§
- Ban
- A ban.
- Guild
- A guild (called a “server” in the Discord client).
- Incidents
Data - Safety incidents of a guild: paused invites or DMs and detected raids or DM spam.
- Integration
- An integration in a guild: a bot or app, or a Twitch/YouTube subscription.
- Integration
Account - The account of an integration (e.g. the Twitch channel).
- Integration
Application - The application of a Discord integration.
- Member
- A guild member: a user’s membership in one guild, with guild-specific data such as nickname and roles.
- Member
Flags - Flags of a guild member.
- Onboarding
- The onboarding flow of a guild: questions that give new members channels and roles.
- Onboarding
Prompt - A question in onboarding.
- Partial
Guild - A partial
Guild, as attached to an application (D-051). - Partial
Integration - A partial
Integration, as listed on a user’sConnectionand in anAuditLog(D-051). - Partial
Member - A guild member
without its
User, as attached to messages (MESSAGE_CREATE,MESSAGE_UPDATE) where the user is the message’s author (D-051). - Preview
- The preview of a guild, visible to non-members of discoverable guilds.
- Prompt
Option - An answer of an onboarding prompt.
- Role
- A role: a named set of permissions (and a color, icon and position in the member list) that members can have.
- Role
Colors - The colors of a role.
- Role
Flags - Flags of a role.
- Role
Tags - The tags of a role: what the role belongs to.
- System
Channel Flags - Flags of a guild’s system channel: which automatic messages Discord does not post there.
- Unavailable
Guild - A guild that is not (or not yet) available to the client.
- Welcome
Screen - The welcome screen of a Community guild, shown to new members.
- Welcome
Screen Channel - A channel suggested on the welcome screen.
- Widget
- The public widget
of a guild (
GET /guilds/{guild.id}/widget.json). - Widget
Activity - The activity of a
WidgetMember. - Widget
Channel - A channel listed in a
Widget. - Widget
Member - An online member listed in a
Widget. Members are anonymized: the ID is an index, not a user ID. - Widget
Settings - The widget settings of a guild.
Enums§
- AgeRestriction
Level - The age-restriction level
of a guild (
nsfw_level). - Default
Message Notification Level - The default notification level of a guild’s members.
- Explicit
Content Filter Level - The explicit content filter level: whose media is scanned.
- Feature
- A guild feature: something a guild has access to or has enabled.
- Integration
Expire Behavior - What happens to expired subscribers of an integration.
- Integration
Type - The kind of an
Integration. - MfaLevel
- The MFA level required for moderation actions.
- Onboarding
Mode - The onboarding mode: what counts towards the onboarding constraints.
- Premium
Tier - The premium tier (Server Boost level) of a guild.
- Prompt
Type - How an
OnboardingPromptis displayed. - Verification
Level - The verification level members must meet before they can talk.
- Widget
Style - The style of a widget image
(
GET /guilds/{guild.id}/widget.png?style=).