PluralKit/Myriad/Types/Guild.cs

31 lines
914 B
C#

namespace Myriad.Types
{
public enum PremiumTier
{
NONE,
TIER_1,
TIER_2,
TIER_3,
}
public record Guild
{
public ulong Id { get; init; }
public string Name { get; init; }
public string? Icon { get; init; }
public string? Splash { get; init; }
public string? DiscoverySplash { get; init; }
public bool? Owner { get; init; }
public ulong OwnerId { get; init; }
public string Region { get; init; }
public ulong? AfkChannelId { get; init; }
public int AfkTimeout { get; init; }
public bool? WidgetEnabled { get; init; }
public ulong? WidgetChannelId { get; init; }
public int VerificationLevel { get; init; }
public PremiumTier PremiumTier { get; init; }
public Role[] Roles { get; init; }
public string[] Features { get; init; }
}
}