using System.Collections.Generic; using System.Threading.Tasks; using Luski.net.Enums.Public; namespace Luski.net.Structures.Public; public class Role { public required PublicServer Server { get; init; } = default!; public required long ID { get; init; } = default!; public required string Name { get; init; } = default!; public required int Index { get; init; } = default!; public required Color Color { get; init; } = default!; public required string Description { get; init; } = default!; public required string DisplayName { get; init; } = default!; public required ServerPermission[] ServerPermissions { get; init; } = default!; public required long[] MembersListID { get; init; } = default!; private List? RawUsers = null; public Task GetMembers() { if (RawUsers is null) { } return Task.FromResult(RawUsers!.ToArray()); } }