Fixed guild member's joinedat reseting after certain events
This commit is contained in:
@@ -47,7 +47,8 @@ namespace Discord.Rest
|
||||
}
|
||||
internal void Update(Model model)
|
||||
{
|
||||
_joinedAtTicks = model.JoinedAt.UtcTicks;
|
||||
if (model.JoinedAt.IsSpecified)
|
||||
_joinedAtTicks = model.JoinedAt.Value.UtcTicks;
|
||||
if (model.Nick.IsSpecified)
|
||||
Nickname = model.Nick.Value;
|
||||
IsDeafened = model.Deaf;
|
||||
|
||||
Reference in New Issue
Block a user