Update socket presence and add new presence event (#1945)

This commit is contained in:
Quin Lynch
2021-11-25 11:25:19 -04:00
committed by GitHub
parent 10afd96e6e
commit 9d6dc6279d
8 changed files with 64 additions and 37 deletions

View File

@@ -1,4 +1,4 @@
using System.Collections.Immutable;
using System.Collections.Generic;
namespace Discord
{
@@ -14,10 +14,10 @@ namespace Discord
/// <summary>
/// Gets the set of clients where this user is currently active.
/// </summary>
IImmutableSet<ClientType> ActiveClients { get; }
IReadOnlyCollection<ClientType> ActiveClients { get; }
/// <summary>
/// Gets the list of activities that this user currently has available.
/// </summary>
IImmutableList<IActivity> Activities { get; }
IReadOnlyCollection<IActivity> Activities { get; }
}
}