APIGuild
Index
Properties
- afk_channel_id
- afk_timeout
- application_id
- approximate_member_count
- approximate_presence_count
- banner
- default_message_notifications
- description
- discovery_splash
- emojis
- explicit_content_filter
- features
- icon
- iconHash
- id
- max_members
- max_presences
- max_stage_video_channel_users
- max_video_channel_users
- mfa_level
- name
- nsfw_level
- owner
- owner_id
- permissions
- preferred_locale
- premium_progress_bar_enabled
- premium_subscription_count
- premium_tier
- public_updates_channel_id
- region
- roles
- rules_channel_id
- safety_alerts_channel_id
- splash
- stickers
- system_channel_flags
- system_channel_id
- vanity_url_code
- verification_level
- welcome_screen
- widget_channel_id
- widget_enabled
Properties
afk_channel_id
afk_timeout
AFK timeout in seconds
application_id
Application ID of the guild creator if it is bot-created
optionalapproximate_member_count
Approximate number of members in this guild, returned from the GET /guilds/<id>
and /users/@me/guilds
endpoints when with_counts
is true
optionalapproximate_presence_count
Approximate number of non-offline members in this guild, returned from the GET /guilds/<id>
and /users/@me/guilds
endpoints when with_counts
is true
banner
Banner hash
default_message_notifications
Default message notifications level
description
The description of the guild
discovery_splash
Discovery splash hash; only present for guilds with the Discoverable
feature
emojis
Custom guild emojis
explicit_content_filter
Explicit content filter level
features
Enabled guild features
icon
Icon hash
optionaliconHash
Icon hash, returned when in the template object
id
Guild ID
optionalmax_members
The maximum number of members for the guild
optionalmax_presences
The maximum number of presences for the guild (null
is always returned, apart from the largest of guilds)
optionalmax_stage_video_channel_users
The maximum amount of users in a stage video channel
optionalmax_video_channel_users
The maximum amount of users in a video channel
mfa_level
Required MFA level for the guild
name
Guild name (2-100 characters, excluding trailing and leading whitespace)
nsfw_level
Guild NSFW level
optionalowner
true
if the user is the owner of the guild
Only sent when using the Current User Guilds endpoint and are relative to the requested user
owner_id
ID of owner
optionalpermissions
Total permissions for the user in the guild (excludes overwrites and implicit permissions)
Only sent when using the Current User Guilds endpoint and are relative to the requested user
preferred_locale
The preferred locale of a Community guild; used in server discovery and notices from Discord, and sent in interactions; defaults to “en-US”
premium_progress_bar_enabled
Whether the guild has the boost progress bar enabled
optionalpremium_subscription_count
The number of boosts this guild currently has
premium_tier
Premium tier (Server Boost level)
public_updates_channel_id
The ID of the channel where admins and moderators of Community guilds receive notices from Discord
optionalregion
Voice region ID for the guild
roles
Roles in the guild
rules_channel_id
The ID of the channel where Community guilds can display rules and/or guidelines
safety_alerts_channel_id
The ID of the channel where admins and moderators of Community guilds receive safety alerts from Discord
splash
Splash hash
optionalstickers
Custom guild stickers
system_channel_flags
System channel flags
system_channel_id
The ID of the channel where guild notices such as welcome messages and boost events are posted
vanity_url_code
The vanity url code for the guild
verification_level
Verification level required for the guild
optionalwelcome_screen
The welcome screen of a Community guild, shown to new members, returned in an Invite’s guild object
optionalwidget_channel_id
The channel id that the widget will generate an invite to, or null
if set to no invite
optionalwidget_enabled
true
if the server widget is enabled
ID of AFK channel