Added User.PrivateChannel
This commit is contained in:
@@ -71,6 +71,8 @@ namespace Discord
|
|||||||
// /// <summary> Gets this user's voice token. </summary>
|
// /// <summary> Gets this user's voice token. </summary>
|
||||||
// public string Token { get; private set; }
|
// 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>
|
/// <summary> Returns the string used to mention this user. </summary>
|
||||||
public string Mention => $"<@{Id}>";
|
public string Mention => $"<@{Id}>";
|
||||||
/// <summary> Returns true if this user has marked themselves as muted. </summary>
|
/// <summary> Returns true if this user has marked themselves as muted. </summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user