Fix ConnectionState on DiscordSocketClient
This should resolve a plethora of relates issues, including user downloading not working (#542), possibly #531
This commit is contained in:
@@ -45,7 +45,7 @@ namespace Discord.WebSocket
|
||||
/// <summary> Gets the shard of of this client. </summary>
|
||||
public int ShardId { get; }
|
||||
/// <summary> Gets the current connection state of this client. </summary>
|
||||
public ConnectionState ConnectionState { get; private set; }
|
||||
public ConnectionState ConnectionState => _connection.State;
|
||||
/// <summary> Gets the estimated round-trip latency, in milliseconds, to the gateway server. </summary>
|
||||
public int Latency { get; private set; }
|
||||
internal UserStatus Status { get; private set; } = UserStatus.Online;
|
||||
|
||||
Reference in New Issue
Block a user