Search Results for

    Show / Hide Table of Contents

    Interface IDiscordPartialGuild

    A local representation for DiscordPartialGuildData.

    Namespace: Color_Chan.Discord.Core.Common.Models.Guild
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public interface IDiscordPartialGuild

    Properties

    | Improve this Doc View Source

    AfkChannelId

    Id of afk channel.

    Declaration
    ulong? AfkChannelId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    AfkTimeout

    Afk timeout in seconds.

    Declaration
    int? AfkTimeout { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>
    | Improve this Doc View Source

    ApplicationId

    Application id of the guild creator if it is bot-created.

    Declaration
    ulong? ApplicationId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    ApproximateMemberCount

    Approximate number of members in this guild, returned from the GET /guilds/{id} endpoint when with_counts is true.

    Declaration
    int? ApproximateMemberCount { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>
    | Improve this Doc View Source

    ApproximatePresenceCount

    Approximate number of non-offline members in this guild, returned from the GET /guilds/{id} endpoint when with_counts is true.

    Declaration
    int? ApproximatePresenceCount { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>
    | Improve this Doc View Source

    Banner

    Banner hash.

    Declaration
    string Banner { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Channels

    Channels in the guild.

    Declaration
    IEnumerable<IDiscordChannel> Channels { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IDiscordChannel>
    Remarks

    Only send on the 'GUILD_CREATE' event.

    | Improve this Doc View Source

    CurrentUserPermission

    Total permissions for the user in the guild (excludes overwrites).

    Declaration
    string CurrentUserPermission { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    DefaultMessageNotifications

    Default message notifications level.

    Declaration
    DiscordGuildDefaultMessageNotificationLevel? DefaultMessageNotifications { get; set; }
    Property Value
    Type Description
    System.Nullable<DiscordGuildDefaultMessageNotificationLevel>
    | Improve this Doc View Source

    Description

    The description of a Community guild.

    Declaration
    string Description { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    DiscoverySplash

    Discovery splash hash; only present for guilds with the "DISCOVERABLE" feature.

    Declaration
    string DiscoverySplash { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Emojis

    Custom guild emojis.

    Declaration
    IEnumerable<IDiscordEmoji> Emojis { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IDiscordEmoji>
    | Improve this Doc View Source

    ExplicitContentFilter

    Explicit content filter level.

    Declaration
    DiscordGuildExplicitContentFilterLevel? ExplicitContentFilter { get; set; }
    Property Value
    Type Description
    System.Nullable<DiscordGuildExplicitContentFilterLevel>
    | Improve this Doc View Source

    Features

    Enabled guild features.

    Declaration
    IEnumerable<DiscordGuildFeature> Features { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<DiscordGuildFeature>
    | Improve this Doc View Source

    Icon

    Icon hash.

    Declaration
    string Icon { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    IconHash

    Icon hash, returned when in the template object.

    Declaration
    string IconHash { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Id

    The Discord provided snowflake id.

    Declaration
    ulong? Id { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    IsOwner

    True if the user is the owner of the guild.

    Declaration
    bool? IsOwner { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    Remarks

    Only sent when using the GET Current User Guilds endpoint and are relative to the requested user.

    | Improve this Doc View Source

    JoinedAt

    When the current user joined this guild.

    Declaration
    DateTimeOffset? JoinedAt { get; set; }
    Property Value
    Type Description
    System.Nullable<DateTimeOffset>
    Remarks

    Only send on the 'GUILD_CREATE' event.

    | Improve this Doc View Source

    Large

    True if this is considered a large guild.

    Declaration
    bool? Large { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    Remarks

    Only send on the 'GUILD_CREATE' event.

    | Improve this Doc View Source

    MaxMembers

    The maximum number of members for the guild.

    Declaration
    int? MaxMembers { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>
    | Improve this Doc View Source

    MaxPresences

    The maximum number of presences for the guild (null is always returned, apart from the largest of guilds).

    Declaration
    int? MaxPresences { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>
    | Improve this Doc View Source

    MaxVideoChannelUsers

    The maximum amount of users in a video channel.

    Declaration
    int? MaxVideoChannelUsers { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>
    | Improve this Doc View Source

    MemberCount

    Total number of members in this guild.

    Declaration
    int? MemberCount { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>
    Remarks

    Only send on the 'GUILD_CREATE' event.

    | Improve this Doc View Source

    Members

    Users in the guild.

    Declaration
    IEnumerable<IDiscordGuildMember> Members { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IDiscordGuildMember>
    Remarks

    Only send on the 'GUILD_CREATE' event.

    | Improve this Doc View Source

    MfaLevel

    Required MFA level for the guild.

    Declaration
    DiscordGuildMfaLevel? MfaLevel { get; set; }
    Property Value
    Type Description
    System.Nullable<DiscordGuildMfaLevel>
    | Improve this Doc View Source

    Name

    Guild name (2-100 characters, excluding trailing and leading whitespace).

    Declaration
    string Name { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    NsfwLevel

    Guild NSFW level.

    Declaration
    DiscordGuildNsfwLevel? NsfwLevel { get; set; }
    Property Value
    Type Description
    System.Nullable<DiscordGuildNsfwLevel>
    | Improve this Doc View Source

    OwnerId

    Id of owner.

    Declaration
    ulong? OwnerId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    PreferredLocale

    The preferred locale of a Community guild; used in server discovery and notices from Discord; defaults to "en-US".

    Declaration
    string PreferredLocale { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    PremiumSubscriptionCount

    The number of boosts this guild currently has.

    Declaration
    int? PremiumSubscriptionCount { get; set; }
    Property Value
    Type Description
    System.Nullable<Int32>
    | Improve this Doc View Source

    PremiumTier

    Premium tier (Server Boost level).

    Declaration
    DiscordGuildPremiumTier? PremiumTier { get; set; }
    Property Value
    Type Description
    System.Nullable<DiscordGuildPremiumTier>
    | Improve this Doc View Source

    Presences

    presences of the members in the guild, will only include non-offline members if the size is greater than large threshold.

    Declaration
    IEnumerable<DiscordGuildPresenceData> Presences { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<DiscordGuildPresenceData>
    Remarks

    Only send on the 'GUILD_CREATE' event.

    If you are using Gateway Intents, you must specify the GUILD_PRESENCES intent in order to receive Presence Update events.

    | Improve this Doc View Source

    PublicUpdatesChannelId

    The id of the channel where admins and moderators of Community guilds receive notices from Discord.

    Declaration
    ulong? PublicUpdatesChannelId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    Region

    Voice region id for the guild (deprecated).

    Declaration
    [Obsolete("This field is deprecated and will be removed in v9 and is replaced by rtc_region")]
    string Region { get; set; }
    Property Value
    Type Description
    String
    Remarks

    This field is deprecated and will be removed in v9 and is replaced by rtc_region.

    | Improve this Doc View Source

    Roles

    Roles in the guild.

    Declaration
    IEnumerable<IDiscordGuildRole> Roles { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IDiscordGuildRole>
    | Improve this Doc View Source

    RulesChannelId

    The id of the channel where Community guilds can display rules and/or guidelines.

    Declaration
    ulong? RulesChannelId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    Splash

    Splash hash.

    Declaration
    string Splash { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    StageInstances

    Stage instances in the guild.

    Declaration
    IDiscordStageInstance StageInstances { get; set; }
    Property Value
    Type Description
    IDiscordStageInstance
    Remarks

    Only send on the 'GUILD_CREATE' event.

    | Improve this Doc View Source

    SystemChannelFlags

    The system channel flags.

    Declaration
    DiscordSystemChannelFlags? SystemChannelFlags { get; set; }
    Property Value
    Type Description
    System.Nullable<DiscordSystemChannelFlags>
    | Improve this Doc View Source

    SystemChannelId

    The id of the channel where guild notices such as welcome messages and boost events are posted.

    Declaration
    ulong? SystemChannelId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    Threads

    All active threads in the guild that current user has permission to view.

    Declaration
    IEnumerable<IDiscordChannel> Threads { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IDiscordChannel>
    Remarks

    Only send on the 'GUILD_CREATE' event.

    | Improve this Doc View Source

    Unavailable

    True if this guild is unavailable due to an outage.

    Declaration
    bool? Unavailable { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    Remarks

    Only send on the 'GUILD_CREATE' event.

    | Improve this Doc View Source

    VanityUrlCode

    The vanity url code for the guild.

    Declaration
    string VanityUrlCode { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    VerificationLevel

    Verification level required for the guild.

    Declaration
    DiscordGuildVerificationLevel? VerificationLevel { get; set; }
    Property Value
    Type Description
    System.Nullable<DiscordGuildVerificationLevel>
    | Improve this Doc View Source

    VoiceStates

    States of members currently in voice channels; lacks the guild_id key.

    Declaration
    IEnumerable<DiscordVoiceState> VoiceStates { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<DiscordVoiceState>
    Remarks

    Only send on the 'GUILD_CREATE' event.

    | Improve this Doc View Source

    WelcomeScreen

    The welcome screen of a Community guild, shown to new members, returned in an Invite's guild object.

    Declaration
    IDiscordGuildWelcomeScreen WelcomeScreen { get; set; }
    Property Value
    Type Description
    IDiscordGuildWelcomeScreen
    | Improve this Doc View Source

    WidgetChannelId

    The channel id that the widget will generate an invite to, or null if set to no invite.

    Declaration
    ulong? WidgetChannelId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    WidgetEnabled

    True if the server widget is enabled.

    Declaration
    bool? WidgetEnabled { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX