Table of Contents

Class SocketGuildInfo

Namespace
Discord.WebSocket
Assembly
Discord.Net.WebSocket.dll

Represents information for a guild.

public class SocketGuildInfo
Inheritance
SocketGuildInfo
Inherited Members

Properties

AfkChannelId

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

public ulong? AfkChannelId { get; }

Property Value

ulong?

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

Remarks

null if the value was not updated in this entry.

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

Remarks

null if the value was not updated in this entry.

ApplicationId

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

public 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 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 DefaultMessageNotifications? DefaultMessageNotifications { get; }

Property Value

DefaultMessageNotifications?

Remarks

null if the value was not updated in this entry.

Description

Gets the description for the guild.

public 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 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 channel assigned to the widget of this guild.

public ulong? EmbedChannelId { get; }

Property Value

ulong?

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

Remarks

null if the value was not updated in this entry.

ExplicitContentFilter

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

public ExplicitContentFilterLevel? ExplicitContentFilter { get; }

Property Value

ExplicitContentFilterLevel?

The level of explicit content filtering.

Remarks

null if the value was not updated in this entry.

IconHash

Gets the ID of this guild's icon.

public string IconHash { 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.

IsBoostProgressBarEnabled

Gets whether the guild has the boost progress bar enabled.

public 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 has the widget enabled.

public bool? IsEmbeddable { get; }

Property Value

bool?

true if this guild has a widget enabled; otherwise false.

Remarks

null if the value was not updated 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 MfaLevel? MfaLevel { get; }

Property Value

MfaLevel?

The level of MFA requirement.

Remarks

null if the value was not updated in this entry.

Name

Gets the name of this guild.

public string Name { get; }

Property Value

string

A string containing the name of this guild.

Remarks

null if the value was not updated in this entry.

NsfwLevel

Gets the NSFW level of this guild.

public NsfwLevel? NsfwLevel { get; }

Property Value

NsfwLevel?

The NSFW level of this guild.

Remarks

null if the value was not updated in this entry.

OwnerId

Gets the ID of the user that owns this guild.

public 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 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 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 string RegionId { get; }

Property Value

string

A string containing the identifier for the voice region that this guild uses (e.g. eu-central).

Remarks

null if the value was not updated in this entry.

RulesChannelId

Gets the ID of the channel with the rules.

public 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 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 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 randomized welcome messages are sent.

public ulong? SystemChannelId { get; }

Property Value

ulong?

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

Remarks

null if the value was not updated in this entry.

VanityURLCode

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

public 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 VerificationLevel? VerificationLevel { get; }

Property Value

VerificationLevel?

The level of requirements.

Remarks

null if the value was not updated in this entry.