CreateGuild
Documentation / @discordeno/bot / CreateGuild
Interface: CreateGuild
Defined in: packages/types/dist/types/discordeno.d.ts:1086
https://discord.com/developers/docs/resources/guild#create-guild
Properties
afkChannelId?
optional
afkChannelId:string
Defined in: packages/types/dist/types/discordeno.d.ts:1102
Id for afk channel
afkTimeout?
optional
afkTimeout:number
Defined in: packages/types/dist/types/discordeno.d.ts:1104
Afk timeout in seconds
channels?
optional
channels:Partial
<{applicationId
:string
;appliedTags
:string
[];availableTags
:object
[];bitrate
:number
;defaultAutoArchiveDuration
:number
;defaultForumLayout
:ForumLayout
;defaultReactionEmoji
:null
| {emojiId
:string
;emojiName
:null
|string
; };defaultSortOrder
:null
|SortOrderTypes
;defaultThreadRateLimitPerUser
:number
;flags
:ChannelFlags
;guildId
:string
;icon
:string
;id
:string
;lastMessageId
:null
|string
;lastPinTimestamp
:null
|string
;managed
:boolean
;member
: {flags
:number
;id
:string
;joinTimestamp
:string
;userId
:string
; };memberCount
:number
;messageCount
:number
;name
:string
;newlyCreated
:boolean
;nsfw
:boolean
;ownerId
:string
;parentId
:null
|string
;permissionOverwrites
:object
[];permissions
:string
;position
:number
;rateLimitPerUser
:number
;recipients
:object
[];rtcRegion
:null
|string
;threadMetadata
: {archived
:boolean
;archiveTimestamp
:string
;autoArchiveDuration
:60
|1440
|4320
|10080
;createTimestamp
:null
|string
;invitable
:boolean
;locked
:boolean
; };topic
:null
|string
;totalMessageSent
:number
;type
:ChannelTypes
;userLimit
:number
;videoQualityMode
:VideoQualityModes
; }>[]
Defined in: packages/types/dist/types/discordeno.d.ts:1100
New guild's channels
defaultMessageNotifications?
optional
defaultMessageNotifications:DefaultMessageNotificationLevels
Defined in: packages/types/dist/types/discordeno.d.ts:1094
Default message notification level
explicitContentFilter?
optional
explicitContentFilter:ExplicitContentFilterLevels
Defined in: packages/types/dist/types/discordeno.d.ts:1096
Explicit content filter level
icon?
optional
icon:string
Defined in: packages/types/dist/types/discordeno.d.ts:1090
Base64 128x128 image for the guild icon
name
name:
string
Defined in: packages/types/dist/types/discordeno.d.ts:1088
Name of the guild (1-100 characters)
roles?
optional
roles:object
[]
Defined in: packages/types/dist/types/discordeno.d.ts:1098
New guild roles (first role is the everyone role)
color
color:
number
flags
flags:
RoleFlags
hoist
hoist:
boolean
icon?
optional
icon:string
id
id:
string
managed
managed:
boolean
mentionable
mentionable:
boolean
name
name:
string
permissions
permissions:
string
position
position:
number
tags?
optional
tags:object
tags.availableForPurchase?
optional
tags.availableForPurchase:null
tags.botId?
optional
tags.botId:string
tags.guildConnections?
optional
tags.guildConnections:null
tags.integrationId?
optional
tags.integrationId:string
tags.premiumSubscriber?
optional
tags.premiumSubscriber:null
tags.subscriptionListingId?
optional
tags.subscriptionListingId:string
unicodeEmoji?
optional
unicodeEmoji:string
systemChannelFlags?
optional
systemChannelFlags:SystemChannelFlags
Defined in: packages/types/dist/types/discordeno.d.ts:1108
System channel flags
systemChannelId?
optional
systemChannelId:string
Defined in: packages/types/dist/types/discordeno.d.ts:1106
The id of the channel where guild notices such as welcome messages and boost events are posted
verificationLevel?
optional
verificationLevel:VerificationLevels
Defined in: packages/types/dist/types/discordeno.d.ts:1092
Verification level