mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Initial commit, basic proxying working
This commit is contained in:
parent
c3f6becea4
commit
a6fbd869be
109 changed files with 3539 additions and 359 deletions
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; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue