Refactor and rename project to yawaflua.Discord.Net; add core entities and interfaces for Discord OAuth2 integration

This commit is contained in:
Dmitri Shimanski
2025-08-22 06:48:43 +03:00
parent 423bc8def0
commit e0d2b65fff
37 changed files with 867 additions and 382 deletions

View 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; }
}