Skip to content

ModifyGuildInput

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

What PATCH /guilds/{id} takes; a field left out is left alone.

optional default_message_notifications?: number

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

Notification default: 0 all messages, 1 only @mentions.


optional description?: string | null

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

The server description, or null to clear it.


optional explicit_content_filter?: number

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

Content filter: 0 disabled, 1 members without roles, 2 all members.


optional features?: 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.


optional name?: string

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

A new server name.


optional owner_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.


optional preferred_locale?: string

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

The server’s preferred locale, such as en-US.


optional public_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.


optional rules_channel_id?: string | null

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

Id of the rules channel, or null for none.


optional system_channel_flags?: number

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

Bitfield of system-channel messages to suppress.


optional system_channel_id?: string | null

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

Id of the channel for system messages, or null for none.


optional verification_level?: number

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

Verification level: 0 none, 1 low, 2 medium, 3 high, 4 very high.