Browse Source

Unhid PrivateChannel

tags/docs-0.9
Brandon Smith 9 years ago
parent
commit
7f04af4db3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Discord.Net/User.cs

+ 2
- 2
src/Discord.Net/User.cs View File

@@ -31,8 +31,8 @@ namespace Discord
/// <summary> Returns the string "&lt;@Id&gt;" to be used as a shortcut when including mentions in text. </summary>
public string Mention => $"<@{Id}>";

internal string PrivateChannelId { get; internal set; }
internal Channel PrivateChannel => _client.GetChannel(PrivateChannelId);
public string PrivateChannelId { get; set; }
public Channel PrivateChannel => _client.GetChannel(PrivateChannelId);

//TODO: Add voice
/// <summary> Returns the time this user last sent a message. </summary>


Loading…
Cancel
Save