Initial commit, basic proxying working
This commit is contained in:
13
Myriad/Types/Gateway/GatewayInfo.cs
Normal file
13
Myriad/Types/Gateway/GatewayInfo.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace Myriad.Types
|
||||
{
|
||||
public record GatewayInfo
|
||||
{
|
||||
public string Url { get; init; }
|
||||
|
||||
public record Bot: GatewayInfo
|
||||
{
|
||||
public int Shards { get; init; }
|
||||
public SessionStartLimit SessionStartLimit { get; init; }
|
||||
}
|
||||
}
|
||||
}
|
9
Myriad/Types/Gateway/SessionStartLimit.cs
Normal file
9
Myriad/Types/Gateway/SessionStartLimit.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Myriad.Types
|
||||
{
|
||||
public record SessionStartLimit
|
||||
{
|
||||
public int Total { get; init; }
|
||||
public int Remaining { get; init; }
|
||||
public int ResetAfter { get; init; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user