Guild

struct

Represents a Discord guild (server).

Property Type Description
afk_channel_id String Id of afk channel
afk_timeout Integer Afk timeout in seconds
application_id String Application id of the guild creator if it is bot-created
approximate_member_count Integer Approximate number of members (with_counts=true)
approximate_presence_count Integer Approximate number of non-offline members (with_counts=true)
banner String Banner hash
default_message_notifications Integer Default message notifications level
description String The description of a guild
discovery_splash String Discovery splash hash
emojis
ArrayEmoji
Custom guild emojis
explicit_content_filter Integer Explicit content filter level
features
ArrayString
Enabled guild features
icon String Icon hash
icon_hash String Icon hash, returned when in the template object
id String Guild id
max_members Integer The maximum number of members for the guild
max_presences Integer The maximum number of presences for the guild
max_stage_video_channel_users Integer The maximum amount of users in a stage video channel
max_video_channel_users Integer The maximum amount of users in a video channel
mfa_level Integer Required MFA level for the guild
name String Guild name (2-100 characters)
nsfw_level Integer Guild age-restriction level
owner Boolean True if the user is the owner of the guild (current user guilds only)
owner_id String Id of owner
permissions String Total permissions for the user in the guild (current user guilds only)
preferred_locale String The preferred locale of a guild
premium_progress_bar_enabled Boolean Whether the guild has the boost progress bar enabled
premium_subscription_count Integer The number of boosts this guild currently has
premium_tier Integer Premium tier (Server Boost level)
public_updates_channel_id String The id of the channel where admins and moderators of Community guilds receive notices from Discord
roles
ArrayRole
Roles in the guild
rules_channel_id String The id of the channel where Community guilds display rules
safety_alerts_channel_id String The id of the channel where admins and moderators receive safety alerts
splash String Splash hash
stickers
ArraySticker
Custom guild stickers
system_channel_flags Integer System channel flags
system_channel_id String The id of the channel where guild notices are posted
vanity_url_code String The vanity url code for the guild
verification_level Integer Verification level required for the guild
widget_channel_id String The channel id that the widget will generate an invite to
widget_enabled Boolean True if the server widget is enabled
part of the Apioo-Project