feat: upgrade to .NET 6, refactor everything
This commit is contained in:
@@ -1,31 +1,30 @@
|
||||
namespace Myriad.Types
|
||||
namespace Myriad.Types;
|
||||
|
||||
public enum PremiumTier
|
||||
{
|
||||
public enum PremiumTier
|
||||
{
|
||||
NONE,
|
||||
TIER_1,
|
||||
TIER_2,
|
||||
TIER_3,
|
||||
}
|
||||
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 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; }
|
||||
}
|
||||
public Role[] Roles { get; init; }
|
||||
public string[] Features { get; init; }
|
||||
}
|
Reference in New Issue
Block a user