Fixed crash on voice state updates
This commit is contained in:
@@ -59,8 +59,8 @@ namespace Discord.API
|
|||||||
public class VoiceMemberInfo : MemberReference
|
public class VoiceMemberInfo : MemberReference
|
||||||
{
|
{
|
||||||
[JsonProperty("channel_id")]
|
[JsonProperty("channel_id")]
|
||||||
[JsonConverter(typeof(LongStringConverter))]
|
[JsonConverter(typeof(NullableLongStringConverter))]
|
||||||
public long ChannelId;
|
public long? ChannelId;
|
||||||
[JsonProperty("session_id")]
|
[JsonProperty("session_id")]
|
||||||
public string SessionId;
|
public string SessionId;
|
||||||
[JsonProperty("token")]
|
[JsonProperty("token")]
|
||||||
|
|||||||
Reference in New Issue
Block a user