Added a serverless client.GetUser

This commit is contained in:
RogueException
2015-11-28 00:22:47 -04:00
parent bb10d7f929
commit 579e305c94

View File

@@ -144,6 +144,10 @@ namespace Discord
internal Users Users => _users;
private readonly Users _users;
public GlobalUser GetUser(long userId)
{
return _globalUsers[userId];
}
/// <summary> Returns the user with the specified id, along with their server-specific data, or null if none was found. </summary>
public User GetUser(Server server, long userId)
{