Struct GuildInfo
Represents information for a guild.
Inherited Members
Namespace: Discord.Rest
Assembly: Discord.Net.Rest.dll
Syntax
public struct GuildInfo
Properties
| Improve this Doc View SourceAfkChannelId
Gets the ID of the AFK voice channel for this guild.
Declaration
public ulong? AfkChannelId { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.UInt64> | A System.UInt64 representing the snowflake identifier of the AFK voice channel; |
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.
Declaration
public int? AfkTimeout { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | An System.Int32 representing the amount of time in seconds for a user to be marked as inactive
and moved into the AFK voice channel.
|
DefaultMessageNotifications
Gets the default message notifications for users who haven't explicitly set their notification settings.
Declaration
public DefaultMessageNotifications? DefaultMessageNotifications { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<DefaultMessageNotifications> | The default message notifications setting of this guild.
|
EmbedChannelId
Gets the ID of the widget embed channel of this guild.
Declaration
public ulong? EmbedChannelId { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.UInt64> | A System.UInt64 representing the snowflake identifier of the embedded channel found within the
widget settings of this guild; |
ExplicitContentFilter
Gets the level of content filtering applied to user's content in a Guild.
Declaration
public ExplicitContentFilterLevel? ExplicitContentFilter { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<ExplicitContentFilterLevel> | The level of explicit content filtering. |
IconHash
Gets the ID of this guild's icon.
Declaration
public string IconHash { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A string containing the identifier for the splash image; |
IsEmbeddable
Gets a value that indicates whether this guild is embeddable (i.e. can use widget).
Declaration
public bool? IsEmbeddable { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
|
MfaLevel
Gets the level of Multi-Factor Authentication requirements a user must fulfill before being allowed to perform administrative actions in this guild.
Declaration
public MfaLevel? MfaLevel { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<MfaLevel> | The level of MFA requirement.
|
Name
Gets the name of this guild.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A string containing the name of this guild. |
Owner
Gets the owner of this guild.
Declaration
public IUser Owner { get; }
Property Value
| Type | Description |
|---|---|
| IUser | A user object representing the owner of this guild. |
RegionId
Gets the ID of the region hosting this guild's voice channels.
Declaration
public string RegionId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
SystemChannelId
Gets the ID of the channel where system messages are sent.
Declaration
public ulong? SystemChannelId { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.UInt64> | A System.UInt64 representing the snowflake identifier of the channel where system
messages are sent; |
VerificationLevel
Gets the level of requirements a user must fulfill before being allowed to post messages in this guild.
Declaration
public VerificationLevel? VerificationLevel { get; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<VerificationLevel> | The level of requirements.
|