mirror of
https://github.com/yawaflua/Discord.Net.git
synced 2025-12-10 20:39:27 +02:00
Refactor and rename project to yawaflua.Discord.Net; add core entities and interfaces for Discord OAuth2 integration
This commit is contained in:
25
Interfaces/Models/IRole.cs
Normal file
25
Interfaces/Models/IRole.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using yawaflua.Discord.Net.Entities.Enums;
|
||||
|
||||
namespace yawaflua.Discord.Net.Interfaces.Models;
|
||||
|
||||
public interface IRole
|
||||
{
|
||||
public ulong Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
[Obsolete("Deprecated integer representation of hexadecimal color code")]
|
||||
public int Color { get; set; }
|
||||
|
||||
public IRoleColor Colors { get; set; }
|
||||
|
||||
public bool IsHoisted { get; set; }
|
||||
public bool IsManaged { get; set; }
|
||||
public bool IsMentionable { get; set; }
|
||||
|
||||
public int Position { get; set; }
|
||||
public ulong? Permissions { get; set; }
|
||||
|
||||
public string? IconHash { get; set; }
|
||||
public string? UnicodeEmoji { get; set; }
|
||||
|
||||
public Dictionary<RoleTags, ulong?>? Tags { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user