ModifyGuildInput
Defined in: bot/bot.type.ts:102
What PATCH /guilds/{id} takes; a field left out is left alone.
Properties
Section titled “Properties”default_message_notifications?
Section titled “default_message_notifications?”
optionaldefault_message_notifications?:number
Defined in: bot/bot.type.ts:110
Notification default: 0 all messages, 1 only @mentions.
description?
Section titled “description?”
optionaldescription?:string|null
Defined in: bot/bot.type.ts:124
The server description, or null to clear it.
explicit_content_filter?
Section titled “explicit_content_filter?”
optionalexplicit_content_filter?:number
Defined in: bot/bot.type.ts:112
Content filter: 0 disabled, 1 members without roles, 2 all members.
features?
Section titled “features?”
optionalfeatures?:string[]
Defined in: bot/bot.type.ts:126
The full list of mutable guild features (for example COMMUNITY); Discord ignores the ones it manages itself.
optionalname?:string
Defined in: bot/bot.type.ts:104
A new server name.
owner_id?
Section titled “owner_id?”
optionalowner_id?:string
Defined in: bot/bot.type.ts:106
Hands the server to another user; only the current owner (never a bot that does not own it) may.
preferred_locale?
Section titled “preferred_locale?”
optionalpreferred_locale?:string
Defined in: bot/bot.type.ts:122
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:120
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:118
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:116
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:114
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:108
Verification level: 0 none, 1 low, 2 medium, 3 high, 4 very high.