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 SourceColor
The RGB color value.
Declaration
[JsonPropertyName("color")]
public Color? Color { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Drawing.Color> |
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> |
Mentionable
Whether the role should be mentionable.
Declaration
[JsonPropertyName("mentionable")]
public bool? Mentionable { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Name
The name of the role.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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>