Guild
Documentation / @discordeno/bot / Guild
Interface: Guild
Defined in: bot/src/transformers/types.ts:737
Properties
afkChannelId?
optionalafkChannelId:bigint
Defined in: bot/src/transformers/types.ts:805
Id of afk channel
afkTimeout
afkTimeout:
number
Defined in: bot/src/transformers/types.ts:743
Afk timeout in seconds
applicationId?
optionalapplicationId:bigint
Defined in: bot/src/transformers/types.ts:813
Application id of the guild creator if it is bot-created
approximateMemberCount?
optionalapproximateMemberCount:number
Defined in: bot/src/transformers/types.ts:783
Approximate number of members in this guild, returned from the GET /guilds/id endpoint when with_counts is true
approximatePresenceCount?
optionalapproximatePresenceCount:number
Defined in: bot/src/transformers/types.ts:785
Approximate number of non-offline members in this guild, returned from the GET /guilds/id endpoint when with_counts is true
banner?
optionalbanner:bigint
Defined in: bot/src/transformers/types.ts:831
Banner hash
channels
channels:
Collection<bigint,Channel>
Defined in: bot/src/transformers/types.ts:825
Channels in the guild
defaultMessageNotifications
defaultMessageNotifications:
DefaultMessageNotificationLevels
Defined in: bot/src/transformers/types.ts:749
Default message notifications level
description?
optionaldescription:string
Defined in: bot/src/transformers/types.ts:771
The description of a guild
discoverySplash?
optionaldiscoverySplash:bigint
Defined in: bot/src/transformers/types.ts:799
Discovery splash hash; only present for guilds with the "DISCOVERABLE" feature
emojis
emojis:
Collection<bigint,Emoji>
Defined in: bot/src/transformers/types.ts:811
Custom guild emojis
explicitContentFilter
explicitContentFilter:
ExplicitContentFilterLevels
Defined in: bot/src/transformers/types.ts:751
Explicit content filter level
features
features: (
"animatedBanner"|"animatedIcon"|"applicationCommandPermissionsV2"|"autoModeration"|"banner"|"community"|"creatorMonetizableProvisional"|"creatorStorePage"|"developerSupportServer"|"discoverable"|"featurable"|"invitesDisabled"|"inviteSplash"|"memberVerificationGateEnabled"|"moreSoundboard"|"moreStickers"|"news"|"partnered"|"previewEnabled"|"raidAlertsDisabled"|"roleIcons"|"roleSubscriptionsAvailableForPurchase"|"roleSubscriptionsEnabled"|"ticketedEventsEnabled"|"vanityUrl"|"verified"|"vipRegions"|"welcomeScreenEnabled"|"guestsEnabled"|"guildTags"|"enhancedRoleColors")[]
Defined in: bot/src/transformers/types.ts:753
Enabled guild features
icon?
optionalicon:bigint
Defined in: bot/src/transformers/types.ts:793
Icon hash
iconHash?
optionaliconHash:bigint
Defined in: bot/src/transformers/types.ts:795
Icon hash, returned when in the template object
id
id:
bigint
Defined in: bot/src/transformers/types.ts:791
Guild id
incidentsData
incidentsData:
IncidentsData
Defined in: bot/src/transformers/types.ts:845
The incidents data for this guild
joinedAt?
optionaljoinedAt:number
Defined in: bot/src/transformers/types.ts:819
When this guild was joined at
large?
optionallarge:boolean
Defined in: bot/src/transformers/types.ts:759
True if this is considered a large guild
maxMembers?
optionalmaxMembers:number
Defined in: bot/src/transformers/types.ts:767
The maximum number of members for the guild
maxPresences?
optionalmaxPresences:number
Defined in: bot/src/transformers/types.ts:765
The maximum number of presences for the guild (the default value, currently 25000, is in effect when null is returned)
maxStageVideoChannelUsers?
optionalmaxStageVideoChannelUsers:number
Defined in: bot/src/transformers/types.ts:781
Maximum amount of users in a stage video channel
maxVideoChannelUsers?
optionalmaxVideoChannelUsers:number
Defined in: bot/src/transformers/types.ts:779
The maximum amount of users in a video channel
memberCount
memberCount:
number
Defined in: bot/src/transformers/types.ts:763
Total number of members in this guild
members
members:
Collection<bigint,Member>
Defined in: bot/src/transformers/types.ts:823
Users in the guild
mfaLevel
mfaLevel:
MfaLevels
Defined in: bot/src/transformers/types.ts:755
Required MFA level for the guild
name
name:
string
Defined in: bot/src/transformers/types.ts:739
Guild name (2-100 characters, excluding trailing and leading whitespace)
nsfwLevel
nsfwLevel:
GuildNsfwLevel
Defined in: bot/src/transformers/types.ts:787
Guild NSFW level
owner?
optionalowner:boolean
Defined in: bot/src/transformers/types.ts:741
True if the user is the owner of the guild
ownerId
ownerId:
bigint
Defined in: bot/src/transformers/types.ts:801
Id of the owner
permissions
permissions:
bigint
Defined in: bot/src/transformers/types.ts:803
Total permissions for the user in the guild (excludes overwrites and implicit permissions)
preferredLocale
preferredLocale:
string
Defined in: bot/src/transformers/types.ts:833
The preferred locale of a Community guild; used in server discovery and notices from Discord; defaults to "en-US"
premiumProgressBarEnabled
premiumProgressBarEnabled:
boolean
Defined in: bot/src/transformers/types.ts:789
Whether the guild has the boost progress bar enabled
premiumSubscriptionCount?
optionalpremiumSubscriptionCount:number
Defined in: bot/src/transformers/types.ts:777
The number of boosts this guild currently has
premiumTier
premiumTier:
PremiumTiers
Defined in: bot/src/transformers/types.ts:775
Premium tier (Server Boost level)
presences?
optionalpresences:PresenceUpdate[]
Defined in: bot/src/transformers/types.ts:829
Presences of the members in the guild, will only include non-offline members if the size is greater than large threshold
publicUpdatesChannelId?
optionalpublicUpdatesChannelId:bigint
Defined in: bot/src/transformers/types.ts:835
The id of the channel where admins and moderators of Community guilds receive notices from Discord
roles
roles:
Collection<bigint,Role>
Defined in: bot/src/transformers/types.ts:809
Roles in the guild
rulesChannelId?
optionalrulesChannelId:bigint
Defined in: bot/src/transformers/types.ts:817
The id of the channel where community guilds can display rules and/or guidelines
safetyAlertsChannelId?
optionalsafetyAlertsChannelId:bigint
Defined in: bot/src/transformers/types.ts:843
The id of the channel where admins and moderators of Community guilds receive safety alerts from Discord
shardId
shardId:
number
Defined in: bot/src/transformers/types.ts:773
splash?
optionalsplash:bigint
Defined in: bot/src/transformers/types.ts:797
Splash hash
stageInstances?
optionalstageInstances:StageInstance[]
Defined in: bot/src/transformers/types.ts:839
Stage instances in the guild
stickers?
optionalstickers:Collection<bigint,Sticker>
Defined in: bot/src/transformers/types.ts:841
Custom guild stickers
systemChannelFlags
systemChannelFlags:
SystemChannelFlags
Defined in: bot/src/transformers/types.ts:757
System channel flags
systemChannelId?
optionalsystemChannelId:bigint
Defined in: bot/src/transformers/types.ts:815
The id of the channel where guild notices such as welcome messages and boost events are posted
threads
threads:
Collection<bigint,Channel>
Defined in: bot/src/transformers/types.ts:827
All active threads in the guild that the current user has permission to view
toggles
toggles:
GuildToggles
Defined in: bot/src/transformers/types.ts:772
unavailable?
optionalunavailable:boolean
Defined in: bot/src/transformers/types.ts:761
True if this guild is unavailable due to an outage
vanityUrlCode?
optionalvanityUrlCode:string
Defined in: bot/src/transformers/types.ts:769
The vanity url code for the guild
verificationLevel
verificationLevel:
VerificationLevels
Defined in: bot/src/transformers/types.ts:747
Verification level required for the guild
voiceStates
voiceStates:
Collection<bigint,VoiceState>
Defined in: bot/src/transformers/types.ts:821
States of members currently in voice channels; lacks the guild_id key
welcomeScreen?
optionalwelcomeScreen:WelcomeScreen
Defined in: bot/src/transformers/types.ts:837
The welcome screen of a Community guild, shown to new members, returned in an Invite's guild object
widgetChannelId?
optionalwidgetChannelId:bigint
Defined in: bot/src/transformers/types.ts:807
The channel id that the widget will generate an invite to, or null if set to no invite
widgetEnabled?
optionalwidgetEnabled:boolean
Defined in: bot/src/transformers/types.ts:745
True if the server widget is enabled