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,19 @@
using yawaflua.Discord.Net.Entities.Enums;
namespace yawaflua.Discord.Net.Interfaces.Models;
public interface IGuild
{
public ulong Id { get; set; }
public string Name { get; set; }
public string? IconHash { get; set; }
public string? BannerHash { get; set; }
public bool IsOwner { get; set; }
public string Permissions { get; set; }
public IEnumerable<GuildFeature> Features { get; set; }
public int ApproximateMemberCount { get; set; }
public int ApproximatePresenceCount { get; set; }
public string GetIconUrl(int size = 128);
public string GetBannerUrl(int size = 128);
}