Skip to content

CreateGuildInput

Defined in: bot/bot.type.ts:627

What POST /guilds takes. Only a bot in fewer than ten servers may create one, and it becomes the owner.

optional default_message_notifications?: number

Defined in: bot/bot.type.ts:635

Default notification setting, using the same values as DiscordGuild.default_message_notifications.


optional explicit_content_filter?: number

Defined in: bot/bot.type.ts:637

Content filter level, using the same values as DiscordGuild.explicit_content_filter.


optional icon?: string

Defined in: bot/bot.type.ts:631

A data URI (data:image/png;base64,...).


name: string

Defined in: bot/bot.type.ts:629

The server name.


optional verification_level?: number

Defined in: bot/bot.type.ts:633

Verification level, using the same values as DiscordGuild.verification_level.