Search Results for

    Show / Hide Table of Contents

    Class DiscordAddGuildMember

    Represents a discord Add Guild member API request model. Docs: https://discord.com/developers/docs/resources/guild#membership-screening-object-json-params

    Inheritance
    System.Object
    DiscordAddGuildMember
    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.Core.Common.API.Params.Guild
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public class DiscordAddGuildMember

    Properties

    | Improve this Doc View Source

    AccessToken

    An oauth2 access token granted with the guilds.join to the bot's application for the user you want to add to the guild.

    Declaration
    [JsonPropertyName("access_token")]
    public string AccessToken { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Deaf

    Whether the user is deafened in voice channels.

    Declaration
    [JsonPropertyName("deaf")]
    public bool Deaf { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Requires DEAFEN_MEMBERS permission

    | Improve this Doc View Source

    IsMuted

    Whether the user is muted in voice channels.

    Declaration
    [JsonPropertyName("mute")]
    public bool IsMuted { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    Requires MUTE_MEMBERS permission

    | Improve this Doc View Source

    Nick

    Value to set users nickname to.

    Declaration
    [JsonPropertyName("nick")]
    public string Nick { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    Requires MANAGE_NICKNAMES permission

    | Improve this Doc View Source

    RoleIds

    List of role ids the member is assigned

    Declaration
    [JsonPropertyName("roles")]
    public IEnumerable<ulong> RoleIds { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<System.UInt64>
    Remarks

    Requires MANAGE_ROLES permission

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX