Search Results for

    Show / Hide Table of Contents

    Class DiscordModifyGuildRole

    Represents a discord Modify Guild Role API request model. Docs: https://discord.com/developers/docs/resources/guild#modify-guild-role

    Inheritance
    System.Object
    DiscordModifyGuildRole
    Implements
    System.IEquatable<DiscordModifyGuildRole>
    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 DiscordModifyGuildRole : IEquatable<DiscordModifyGuildRole>

    Properties

    | Improve this Doc View Source

    Color

    The RGB color value.

    Declaration
    [JsonPropertyName("color")]
    public Color? Color { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Drawing.Color>
    | Improve this Doc View Source

    IsHoisted

    Whether the role should be displayed separately in the sidebar.

    Declaration
    [JsonPropertyName("hoist")]
    public bool? IsHoisted { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    Mentionable

    Whether the role should be mentionable.

    Declaration
    [JsonPropertyName("mentionable")]
    public bool? Mentionable { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    Name

    The name of the role.

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

    Permissions

    The bitwise value of the enabled/disabled permissions.

    Declaration
    [JsonPropertyName("permissions")]
    public DiscordPermission? Permissions { get; set; }
    Property Value
    Type Description
    System.Nullable<DiscordPermission>

    Implements

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