diff --git a/src/Discord.Net/API/Client/GatewaySocket/Commands/Resume.cs b/src/Discord.Net/API/Client/GatewaySocket/Commands/Resume.cs index 1b95b8076..f473369cf 100644 --- a/src/Discord.Net/API/Client/GatewaySocket/Commands/Resume.cs +++ b/src/Discord.Net/API/Client/GatewaySocket/Commands/Resume.cs @@ -12,6 +12,6 @@ namespace Discord.API.Client.GatewaySocket [JsonProperty("session_id")] public string SessionId { get; set; } [JsonProperty("seq")] - public int Sequence { get; set; } + public uint Sequence { get; set; } } } diff --git a/src/Discord.Net/Net/WebSockets/GatewaySocket.cs b/src/Discord.Net/Net/WebSockets/GatewaySocket.cs index 06048d59b..0250ed271 100644 --- a/src/Discord.Net/Net/WebSockets/GatewaySocket.cs +++ b/src/Discord.Net/Net/WebSockets/GatewaySocket.cs @@ -23,7 +23,7 @@ namespace Discord.Net.WebSockets public partial class GatewaySocket : WebSocket { - private int _lastSequence; + private uint _lastSequence; private string _sessionId; private string _token; private int _reconnects;