feat: upgrade to .NET 6, refactor everything
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
namespace Myriad.Types
|
||||
{
|
||||
public record GatewayInfo
|
||||
{
|
||||
public string Url { get; init; }
|
||||
namespace Myriad.Types;
|
||||
|
||||
public record Bot: GatewayInfo
|
||||
{
|
||||
public int Shards { get; init; }
|
||||
public SessionStartLimit SessionStartLimit { get; init; }
|
||||
}
|
||||
public record GatewayInfo
|
||||
{
|
||||
public string Url { get; init; }
|
||||
|
||||
public record Bot: GatewayInfo
|
||||
{
|
||||
public int Shards { get; init; }
|
||||
public SessionStartLimit SessionStartLimit { get; init; }
|
||||
}
|
||||
}
|
@@ -1,10 +1,9 @@
|
||||
namespace Myriad.Types
|
||||
namespace Myriad.Types;
|
||||
|
||||
public record SessionStartLimit
|
||||
{
|
||||
public record SessionStartLimit
|
||||
{
|
||||
public int Total { get; init; }
|
||||
public int Remaining { get; init; }
|
||||
public int ResetAfter { get; init; }
|
||||
public int MaxConcurrency { get; init; }
|
||||
}
|
||||
public int Total { get; init; }
|
||||
public int Remaining { get; init; }
|
||||
public int ResetAfter { get; init; }
|
||||
public int MaxConcurrency { get; init; }
|
||||
}
|
Reference in New Issue
Block a user