PluralKit/Myriad/Types/Guild.cs

31 lines
914 B
C#
Raw Normal View History

2021-08-27 15:03:47 +00:00
namespace Myriad.Types
2020-12-22 12:15:26 +00:00
{
public enum PremiumTier
{
NONE,
TIER_1,
TIER_2,
TIER_3,
}
2020-12-22 12:15:26 +00:00
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; }
2020-12-22 12:15:26 +00:00
public int VerificationLevel { get; init; }
public PremiumTier PremiumTier { get; init; }
2020-12-22 12:15:26 +00:00
public Role[] Roles { get; init; }
public string[] Features { get; init; }
}
}