Added IRole.IsMentionable
This commit is contained in:
@@ -13,6 +13,8 @@ namespace Discord.API
|
||||
public uint Color { get; set; }
|
||||
[JsonProperty("hoist")]
|
||||
public bool Hoist { get; set; }
|
||||
[JsonProperty("mentionable")]
|
||||
public bool Mentionable { get; set; }
|
||||
[JsonProperty("position")]
|
||||
public int Position { get; set; }
|
||||
[JsonProperty("permissions"), Int53]
|
||||
|
||||
@@ -15,6 +15,8 @@ namespace Discord
|
||||
bool IsHoisted { get; }
|
||||
/// <summary> Returns true if this role is automatically managed by Discord. </summary>
|
||||
bool IsManaged { get; }
|
||||
/// <summary> Returns true if this role may be mentioned in messages. </summary>
|
||||
bool IsMentionable { get; }
|
||||
/// <summary> Gets the name of this role. </summary>
|
||||
string Name { get; }
|
||||
/// <summary> Gets the permissions granted to members of this role. </summary>
|
||||
|
||||
Reference in New Issue
Block a user