Class DiscordModifyGuild
Represents a discord Modify Guild API request model. Docs: https://discord.com/developers/docs/resources/guild#modify-guild
Inheritance
Inherited Members
Namespace: Color_Chan.Discord.Core.Common.API.Params.Guild
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordModifyGuild
Properties
| Improve this Doc View SourceAfkChannelId
Id of afk channel.
Declaration
[JsonPropertyName("afk_channel_id")]
public ulong? AfkChannelId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
AfkTimeout
Afk timeout in seconds.
Declaration
[JsonPropertyName("afk_timeout")]
public int AfkTimeout { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Banner
Banner hash.
Declaration
[JsonPropertyName("banner")]
public string Banner { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DefaultMessageNotifications
Default message notifications level.
Declaration
[JsonPropertyName("default_message_notifications")]
public DiscordGuildDefaultMessageNotificationLevel DefaultMessageNotifications { get; set; }
Property Value
Type | Description |
---|---|
DiscordGuildDefaultMessageNotificationLevel |
Description
The description of a Community guild.
Declaration
[JsonPropertyName("description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DiscoverySplash
Discovery splash hash; only present for guilds with the "DISCOVERABLE" feature.
Declaration
[JsonPropertyName("discovery_splash")]
public string DiscoverySplash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ExplicitContentFilter
Explicit content filter level.
Declaration
[JsonPropertyName("explicit_content_filter")]
public DiscordGuildExplicitContentFilterLevel ExplicitContentFilter { get; set; }
Property Value
Type | Description |
---|---|
DiscordGuildExplicitContentFilterLevel |
Features
Enabled guild features.
Declaration
[JsonPropertyName("features")]
public IEnumerable<string> Features { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Icon
Icon hash.
Declaration
[JsonPropertyName("icon")]
public string Icon { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Guild name (2-100 characters, excluding trailing and leading whitespace).
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OwnerId
Id of owner.
Declaration
[JsonPropertyName("owner_id")]
public ulong OwnerId { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
PreferredLocale
The preferred locale of a Community guild; used in server discovery and notices from Discord; defaults to "en-US".
Declaration
[JsonPropertyName("preferred_locale")]
public string PreferredLocale { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PublicUpdatesChannelId
The id of the channel where admins and moderators of Community guilds receive notices from Discord.
Declaration
[JsonPropertyName("public_updates_channel_id")]
public ulong? PublicUpdatesChannelId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
Region
Voice region id for the guild (deprecated).
Declaration
[Obsolete("This field is deprecated and will be removed in v9 and is replaced by rtc_region")]
[JsonPropertyName("region")]
public string Region { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This field is deprecated and will be removed in v9 and is replaced by rtc_region.
RulesChannelId
The id of the channel where Community guilds can display rules and/or guidelines.
Declaration
[JsonPropertyName("rules_channel_id")]
public ulong? RulesChannelId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
Splash
Splash hash.
Declaration
[JsonPropertyName("splash")]
public string Splash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SystemChannelFlags
The system channel flags.
Declaration
[JsonPropertyName("system_channel_flags")]
public DiscordSystemChannelFlags SystemChannelFlags { get; set; }
Property Value
Type | Description |
---|---|
DiscordSystemChannelFlags |
SystemChannelId
The id of the channel where guild notices such as welcome messages and boost events are posted.
Declaration
[JsonPropertyName("system_channel_id")]
public ulong? SystemChannelId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> |
VerificationLevel
Verification level required for the guild.
Declaration
[JsonPropertyName("verification_level")]
public DiscordGuildVerificationLevel VerificationLevel { get; set; }
Property Value
Type | Description |
---|---|
DiscordGuildVerificationLevel |