Added some API placeholders
This commit is contained in:
@@ -20,7 +20,17 @@ namespace Discord.API.Client
|
||||
public MemberPresence[] Presences { get; set; }
|
||||
[JsonProperty("voice_states")]
|
||||
public MemberVoiceState[] VoiceStates { get; set; }
|
||||
[JsonProperty("large")]
|
||||
public bool IsLarge { get; set; }
|
||||
[JsonProperty("unavailable")]
|
||||
public bool? Unavailable { get; set; }
|
||||
|
||||
//Unknown
|
||||
[JsonProperty("splash")]
|
||||
public object Splash { get; set; }
|
||||
[JsonProperty("features")]
|
||||
public object Features { get; set; }
|
||||
[JsonProperty("emojis")]
|
||||
public object Emojis { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,5 +28,11 @@ namespace Discord.API.Client.GatewaySocket
|
||||
public Channel[] PrivateChannels { get; set; }
|
||||
[JsonProperty("heartbeat_interval")]
|
||||
public int HeartbeatInterval { get; set; }
|
||||
|
||||
//Ignored
|
||||
[JsonProperty("user_settings")]
|
||||
public object UserSettings { get; set; }
|
||||
[JsonProperty("user_guild_settings")]
|
||||
public object UserGuildSettings { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Discord
|
||||
public bool WasUnexpected => _wasStopUnexpected;
|
||||
private bool _wasStopUnexpected;
|
||||
|
||||
public Exception Exception => _stopReason.SourceException;
|
||||
public Exception Exception => _stopReason?.SourceException;
|
||||
private ExceptionDispatchInfo _stopReason;
|
||||
|
||||
public TaskManager()
|
||||
|
||||
Reference in New Issue
Block a user