Table of Contents

Struct GuildInfo

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Represents information for a guild.

public struct GuildInfo
Inherited Members

Properties

AfkChannelId

Gets the ID of the AFK voice channel for this guild.

public readonly ulong? AfkChannelId { get; }

Property Value

ulong?

A ulong representing the snowflake identifier of the AFK voice channel; null if none is set.

AfkTimeout

Gets the amount of time (in seconds) a user must be inactive in a voice channel for until they are automatically moved to the AFK voice channel.

public readonly int? AfkTimeout { get; }

Property Value

int?

An int representing the amount of time in seconds for a user to be marked as inactive and moved into the AFK voice channel. null if this is not mentioned in this entry.

ApplicationId

Gets the application ID of the guild creator if it is bot-created.

public readonly ulong? ApplicationId { get; }

Property Value

ulong?

A ulong representing the snowflake identifier of the application ID that created this guild, or null if it was not bot-created.

Remarks

null if the value was not updated in this entry.

BannerId

Gets the identifier for this guilds banner image.

public readonly string BannerId { get; }

Property Value

string

An identifier for the banner image; null if none is set.

Remarks

null if the value was not updated in this entry.

DefaultMessageNotifications

Gets the default message notifications for users who haven't explicitly set their notification settings.

public readonly DefaultMessageNotifications? DefaultMessageNotifications { get; }

Property Value

DefaultMessageNotifications?

The default message notifications setting of this guild. null if this is not mentioned in this entry.

Description

Gets the description for the guild.

public readonly string Description { get; }

Property Value

string

The description for the guild; null if none is set.

Remarks

null if the value was not updated in this entry.

DiscoverySplashId

Gets the ID of this guild's discovery splash image.

public readonly string DiscoverySplashId { get; }

Property Value

string

An identifier for the discovery splash image; null if none is set.

Remarks

null if the value was not updated in this entry.

EmbedChannelId

Gets the ID of the widget embed channel of this guild.

public readonly ulong? EmbedChannelId { get; }

Property Value

ulong?

A ulong representing the snowflake identifier of the embedded channel found within the widget settings of this guild; null if none is set.

ExplicitContentFilter

Gets the level of content filtering applied to user's content in a Guild.

public readonly ExplicitContentFilterLevel? ExplicitContentFilter { get; }

Property Value

ExplicitContentFilterLevel?

The level of explicit content filtering.

IconHash

Gets the ID of this guild's icon.

public readonly string IconHash { get; }

Property Value

string

A string containing the identifier for the splash image; null if none is set.

IsBoostProgressBarEnabled

Gets whether the guild has the boost progress bar enabled.

public readonly bool? IsBoostProgressBarEnabled { get; }

Property Value

bool?

true if the boost progress bar is enabled; otherwise false.

Remarks

null if the value was not updated in this entry.

IsEmbeddable

Gets a value that indicates whether this guild is embeddable (i.e. can use widget).

public readonly bool? IsEmbeddable { get; }

Property Value

bool?

true if this guild can be embedded via widgets; otherwise false. null if this is not mentioned in this entry.

MfaLevel

Gets the level of Multi-Factor Authentication requirements a user must fulfill before being allowed to perform administrative actions in this guild.

public readonly MfaLevel? MfaLevel { get; }

Property Value

MfaLevel?

The level of MFA requirement. null if this is not mentioned in this entry.

Name

Gets the name of this guild.

public readonly string Name { get; }

Property Value

string

A string containing the name of this guild.

NsfwLevel

Gets the NSFW level of this guild.

public readonly NsfwLevel? NsfwLevel { get; }

Property Value

NsfwLevel?

The NSFW level of this guild.

Remarks

null if the value was not updated in this entry.

Owner

Gets the owner of this guild.

public readonly IUser Owner { get; }

Property Value

IUser

A user object representing the owner of this guild.

OwnerId

Gets the ID of the user that owns this guild.

public readonly ulong? OwnerId { get; }

Property Value

ulong?

A ulong representing the snowflake identifier of the user that owns this guild.

Remarks

null if the value was not updated in this entry.

PreferredLocale

Gets the preferred locale of this guild in IETF BCP 47 language tag format.

public readonly string PreferredLocale { get; }

Property Value

string

The preferred locale of the guild in IETF BCP 47 language tag format.

Remarks

null if the value was not updated in this entry.

PublicUpdatesChannelId

Gets the ID of the channel where admins and moderators of Community guilds receive notices from Discord.

public readonly ulong? PublicUpdatesChannelId { get; }

Property Value

ulong?

A ulong representing the snowflake identifier of the channel where admins and moderators of Community guilds receive notices from Discord; null if none is set.

Remarks

null if the value was not updated in this entry.

RegionId

Gets the ID of the region hosting this guild's voice channels.

public readonly string RegionId { get; }

Property Value

string

RulesChannelId

Gets the ID of the channel with the rules.

public readonly ulong? RulesChannelId { get; }

Property Value

ulong?

A ulong representing the snowflake identifier of the channel that contains the rules; null if none is set.

Remarks

null if the value was not updated in this entry.

SplashId

Gets the ID of this guild's splash image.

public readonly string SplashId { get; }

Property Value

string

An identifier for the splash image; null if none is set.

Remarks

null if the value was not updated in this entry.

SystemChannelFlags

Gets the flags for the types of system channel messages that are disabled.

public readonly SystemChannelMessageDeny? SystemChannelFlags { get; }

Property Value

SystemChannelMessageDeny?

The flags for the types of system channel messages that are disabled.

Remarks

null if the value was not updated in this entry.

SystemChannelId

Gets the ID of the channel where system messages are sent.

public readonly ulong? SystemChannelId { get; }

Property Value

ulong?

A ulong representing the snowflake identifier of the channel where system messages are sent; null if none is set.

VanityURLCode

Gets the code for this guild's vanity invite URL.

public readonly string VanityURLCode { get; }

Property Value

string

A string containing the vanity invite code for this guild; null if none is set.

Remarks

null if the value was not updated in this entry.

VerificationLevel

Gets the level of requirements a user must fulfill before being allowed to post messages in this guild.

public readonly VerificationLevel? VerificationLevel { get; }

Property Value

VerificationLevel?

The level of requirements. null if this is not mentioned in this entry.