Skip to main content

Struct GuildInfo

Represents information for a guild.

Assembly: Discord.Net.Rest.dll​
View Source​
Declaration
public struct GuildInfo

Properties​

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.

View Source​
Declaration
public readonly int? AfkTimeout { get; }

DefaultMessageNotifications​

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

View Source​
Declaration
public readonly DefaultMessageNotifications? DefaultMessageNotifications { get; }

AfkChannelId​

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

View Source​
Declaration
public readonly ulong? AfkChannelId { get; }

Name​

Gets the name of this guild.

View Source​
Declaration
public readonly string Name { get; }

RegionId​

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

View Source​
Declaration
public readonly string RegionId { get; }

IconHash​

Gets the ID of this guild's icon.

View Source​
Declaration
public readonly string IconHash { get; }

VerificationLevel​

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

View Source​
Declaration
public readonly VerificationLevel? VerificationLevel { get; }

Owner​

Gets the owner of this guild.

View Source​
Declaration
public readonly IUser Owner { get; }

MfaLevel​

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

View Source​
Declaration
public readonly MfaLevel? MfaLevel { get; }

ExplicitContentFilter​

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

View Source​
Declaration
public readonly ExplicitContentFilterLevel? ExplicitContentFilter { get; }

SystemChannelId​

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

View Source​
Declaration
public readonly ulong? SystemChannelId { get; }

EmbedChannelId​

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

View Source​
Declaration
public readonly ulong? EmbedChannelId { get; }

IsEmbeddable​

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

View Source​
Declaration
public readonly bool? IsEmbeddable { get; }