public CachedPresence(IGatewayClient client, PresenceJsonModel model) : base(client, model.User.Id) { GuildId = model.GuildId; MemberId = model.User.Id; Update(model); }
public void Update(PresenceJsonModel model) { lock (this) { _activities = model.Activities; } Status = model.Status; Statuses = model.ClientStatus; }