Added User.PrivateChannel

This commit is contained in:
RogueException
2015-12-23 05:02:49 -04:00
parent f522053cf0
commit 84bf9e7514

View File

@@ -71,6 +71,8 @@ namespace Discord
// /// <summary> Gets this user's voice token. </summary>
// public string Token { get; private set; }
/// <summary> Gets the current private channel for this user if one exists. </summary>
public Channel PrivateChannel => Client.GetPrivateChannel(Id);
/// <summary> Returns the string used to mention this user. </summary>
public string Mention => $"<@{Id}>";
/// <summary> Returns true if this user has marked themselves as muted. </summary>