Search Results for

    Show / Hide Table of Contents

    Class DiscordGuildMember

    Represents a discord Guild Member Structure API model. Docs: https://discord.com/developers/docs/resources/guild#guild-member-object-guild-member-structure

    Inheritance
    System.Object
    DiscordGuildMember
    Implements
    IDiscordGuildMember
    System.IEquatable<DiscordGuildMember>
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Color_Chan.Discord.Rest.Models.Guild
    Assembly: Color-Chan.Discord.Rest.dll
    Syntax
    public class DiscordGuildMember : IDiscordGuildMember, IEquatable<DiscordGuildMember>

    Constructors

    | Improve this Doc View Source

    DiscordGuildMember(DiscordGuildMemberData)

    Initializes a new DiscordGuildMember

    Declaration
    public DiscordGuildMember(DiscordGuildMemberData data)
    Parameters
    Type Name Description
    DiscordGuildMemberData data

    The data needed to create the DiscordGuildMember.

    Properties

    | Improve this Doc View Source

    CommunicationDisabledUntil

    When the user's timeout will expire and the user will be able to communicate in the guild again, null or a time in the past if the user is not timed out.

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

    Deaf

    Whether the user is deafened in voice channels.

    Declaration
    public bool Deaf { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    JoinedAt

    When the user joined the guild.

    Declaration
    public DateTimeOffset JoinedAt { get; set; }
    Property Value
    Type Description
    System.DateTimeOffset
    | Improve this Doc View Source

    Mute

    Whether the user is muted in voice channels.

    Declaration
    public bool Mute { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    NickName

    This users guild nickname.

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

    Pending

    Whether the user has not yet passed the guild's Membership Screening requirements.

    Declaration
    public bool? Pending { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    Permissions

    Total permissions of the member in the channel, including overwrites, returned when in the interaction object.

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

    PremiumSince

    When the user started boosting the guild.

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

    Roles

    A list of role ids that are assigned the this guild member.

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

    User

    The user this guild member represents.

    Declaration
    public IDiscordUser User { get; set; }
    Property Value
    Type Description
    IDiscordUser

    Implements

    IDiscordGuildMember
    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX