mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: upgrade to .NET 6, refactor everything
This commit is contained in:
parent
d28e99ba43
commit
1918c56937
314 changed files with 27954 additions and 27966 deletions
|
|
@ -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; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue