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:
18
Interfaces/Models/IGuildMember.cs
Normal file
18
Interfaces/Models/IGuildMember.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace yawaflua.Discord.Net.Interfaces.Models;
|
||||
|
||||
public interface IGuildMember
|
||||
{
|
||||
public IUser User { get; set; }
|
||||
public string? Nick { get; set; }
|
||||
public string? AvatarHash { get; set; }
|
||||
public string? BannerHash { get; set; }
|
||||
public List<IRole> Roles { get; set; }
|
||||
public DateTime JoinedAt { get; set; }
|
||||
public DateTime? PremiumSince { get; set; }
|
||||
public bool IsDeaf { get; set; }
|
||||
public bool IsMute { get; set; }
|
||||
public int Flags { get; set; }
|
||||
public bool IsPending { get; set; }
|
||||
public DateTime? CommunicationDisabledUntil { get; set; }
|
||||
public IAvatarDecoration? AvatarDecoration { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user