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:
19
Interfaces/Models/IGuild.cs
Normal file
19
Interfaces/Models/IGuild.cs
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user