Archived
1
0
Fork 0
This repository has been archived on 2024-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
maki/Maki/Structures/Gateway/GatewayInfo.cs

22 lines
485 B
C#

using Newtonsoft.Json;
namespace Maki.Structures.Gateway
{
/// <summary>
/// Discord Gateway Info structure
/// </summary>
internal struct GatewayInfo
{
/// <summary>
/// Gateway WSS URL.
/// </summary>
[JsonProperty("url")]
public string Url;
/// <summary>
/// Recommended numbers of shards to with (for bots).
/// </summary>
[JsonProperty("shards")]
public int? Shards;
}
}