feat: upgrade to .NET 6, refactor everything

This commit is contained in:
spiral
2021-11-26 21:10:56 -05:00
parent d28e99ba43
commit 1918c56937
314 changed files with 27954 additions and 27966 deletions

View File

@@ -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; }
}