DiscordGuild
Defined in: bot/bot.type.ts:74
Guild fields guilds.modify can change; the numeric enums are Discord’s own.
Properties
Section titled “Properties”default_message_notifications?
Section titled “default_message_notifications?”
optionaldefault_message_notifications?:number
Defined in: bot/bot.type.ts:82
0 all messages, 1 only @mentions.
description?
Section titled “description?”
optionaldescription?:string|null
Defined in: bot/bot.type.ts:96
The server description, or null when unset.
explicit_content_filter?
Section titled “explicit_content_filter?”
optionalexplicit_content_filter?:number
Defined in: bot/bot.type.ts:84
0 disabled, 1 members without roles, 2 all members.
features?
Section titled “features?”
optionalfeatures?:string[]
Defined in: bot/bot.type.ts:98
COMMUNITY here means the community features (welcome screen, onboarding) are available.
id:
string
Defined in: bot/bot.type.ts:76
The server id.
name:
string
Defined in: bot/bot.type.ts:78
The server name.
preferred_locale?
Section titled “preferred_locale?”
optionalpreferred_locale?:string
Defined in: bot/bot.type.ts:94
The server’s preferred locale, such as en-US.
public_updates_channel_id?
Section titled “public_updates_channel_id?”
optionalpublic_updates_channel_id?:string|null
Defined in: bot/bot.type.ts:92
Id of the channel for Discord’s community updates, or null for none.
rules_channel_id?
Section titled “rules_channel_id?”
optionalrules_channel_id?:string|null
Defined in: bot/bot.type.ts:90
Id of the rules channel, or null for none.
system_channel_flags?
Section titled “system_channel_flags?”
optionalsystem_channel_flags?:number
Defined in: bot/bot.type.ts:88
Bitfield of system-channel messages to suppress.
system_channel_id?
Section titled “system_channel_id?”
optionalsystem_channel_id?:string|null
Defined in: bot/bot.type.ts:86
Id of the channel for system messages, or null for none.
verification_level?
Section titled “verification_level?”
optionalverification_level?:number
Defined in: bot/bot.type.ts:80
0 none, 1 low, 2 medium, 3 high, 4 very high.