Class Guild
Fluxer entity with client attached.
public class Guild : PartialGuild, IGuild, IPartialGuild, ISnowflake
- Inheritance
-
objectGuild
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
AfkChannelId
The ID of the AFK voice channel.
public ulong? AfkChannelId { get; }
Property Value
AfkTimeout
AFK timeout in seconds before moving users to the AFK channel.
public int AfkTimeout { get; }
Property Value
ContentWarningText
Show a custom warning to new members.
public string ContentWarningText { get; }
Property Value
DefaultMessageNotifications
Default notification level for new members.
public GuildDefaultNotifications DefaultMessageNotifications { get; }
Property Value
DisabledOperations
Bitmask of disabled guild operations.
public GuildOperations DisabledOperations { get; }
Property Value
ExplicitContentFilter
Level of content filtering for explicit media.
public GuildContentFilter ExplicitContentFilter { get; }
Property Value
IsNsfw
Is the guild nsfw.
public bool IsNsfw { get; }
Property Value
MemberCount
Total ammount of members in the guild.
public int? MemberCount { get; }
Property Value
- int?
Remarks
Only available from rest get guild not socket guild.
MessageHistoryCutoff
ISO8601 timestamp controlling how far back members without Read Message History can access messages. When null, no historical access is allowed.
public DateTimeOffset? MessageHistoryCutoff { get; }
Property Value
MfaLevel
Required MFA level for moderation actions.
public GuildMfaLevel MfaLevel { get; }
Property Value
NsfwLevel
The NSFW level of the guild.
public GuildNsfwLevel NsfwLevel { get; }
Property Value
OnlineCount
Current ammount of online members in the guild.
public int? OnlineCount { get; }
Property Value
- int?
Remarks
Only available from rest get guild not socket guild.
OwnerId
The ID of the guild owner.
public ulong OwnerId { get; }
Property Value
RulesChannelId
The ID of the rules channel.
public ulong? RulesChannelId { get; }
Property Value
SystemChannelFlags
System channel message flags.
public SystemChannelFlags SystemChannelFlags { get; }
Property Value
SystemChannelId
The ID of the channel where system messages are sent.
public ulong? SystemChannelId { get; }
Property Value
VanityUrlCode
The vanity URL code for the guild.
public string? VanityUrlCode { get; }
Property Value
VerificationLevel
Required verification level for members to participate.
public GuildVerificationLevel VerificationLevel { get; }
Property Value
Methods
Create(FluxerBaseClient, GuildJson)
Create a Guild object from json.
public static Guild Create(FluxerBaseClient client, GuildJson json)
Parameters
clientFluxerBaseClientjsonGuildJson