Browse Source

Added Profile.NicknameMention

pull/73/merge
RogueException 9 years ago
parent
commit
6d6137ad01
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/Discord.Net/Models/Profile.cs

+ 3
- 1
src/Discord.Net/Models/Profile.cs View File

@@ -28,7 +28,9 @@ namespace Discord
public UserStatus Status => Client.PrivateUser.Status; public UserStatus Status => Client.PrivateUser.Status;
/// <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 the string used to mention this user. </summary>
public string NicknameMention => $"<@!{Id}>";

/// <summary> Gets the email for this user. </summary> /// <summary> Gets the email for this user. </summary>
public string Email { get; private set; } public string Email { get; private set; }
/// <summary> Gets if the email for this user has been verified. </summary> /// <summary> Gets if the email for this user has been verified. </summary>


Loading…
Cancel
Save