Fixed guild member's joinedat reseting after certain events

This commit is contained in:
Sentinent
2017-01-05 01:44:41 -08:00
parent cf2596db58
commit a03269fcf1
3 changed files with 5 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ namespace Discord.API
[JsonProperty("roles")]
public ulong[] Roles { get; set; }
[JsonProperty("joined_at")]
public DateTimeOffset JoinedAt { get; set; }
public Optional<DateTimeOffset> JoinedAt { get; set; }
[JsonProperty("deaf")]
public bool Deaf { get; set; }
[JsonProperty("mute")]