Added NicknameMention to IUser

This commit is contained in:
RogueException
2016-06-26 21:42:29 -03:00
parent 0e710cc76a
commit e7597631d2
3 changed files with 4 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ namespace Discord
public bool IsAttached => User.IsAttached;
public bool IsBot => User.IsBot;
public string Mention => User.Mention;
public string NicknameMention => User.NicknameMention;
public string Username => User.Username;
public virtual UserStatus Status => UserStatus.Unknown;

View File

@@ -12,5 +12,7 @@ namespace Discord
bool IsBot { get; }
/// <summary> Gets the username for this user. </summary>
string Username { get; }
/// <summary> Returns a special string used to mention this object, by nickname. </summary>
string NicknameMention { get; }
}
}

View File

@@ -20,6 +20,7 @@ namespace Discord
public bool IsAttached => User.IsAttached;
public bool IsBot => User.IsBot;
public string Mention => User.Mention;
public string NicknameMention => User.NicknameMention;
public string Username => User.Username;
public CachedDMUser(CachedGlobalUser user)