Added NicknameMention to IUser
This commit is contained in:
@@ -31,6 +31,7 @@ namespace Discord
|
|||||||
public bool IsAttached => User.IsAttached;
|
public bool IsAttached => User.IsAttached;
|
||||||
public bool IsBot => User.IsBot;
|
public bool IsBot => User.IsBot;
|
||||||
public string Mention => User.Mention;
|
public string Mention => User.Mention;
|
||||||
|
public string NicknameMention => User.NicknameMention;
|
||||||
public string Username => User.Username;
|
public string Username => User.Username;
|
||||||
|
|
||||||
public virtual UserStatus Status => UserStatus.Unknown;
|
public virtual UserStatus Status => UserStatus.Unknown;
|
||||||
|
|||||||
@@ -12,5 +12,7 @@ namespace Discord
|
|||||||
bool IsBot { get; }
|
bool IsBot { get; }
|
||||||
/// <summary> Gets the username for this user. </summary>
|
/// <summary> Gets the username for this user. </summary>
|
||||||
string Username { get; }
|
string Username { get; }
|
||||||
|
/// <summary> Returns a special string used to mention this object, by nickname. </summary>
|
||||||
|
string NicknameMention { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ namespace Discord
|
|||||||
public bool IsAttached => User.IsAttached;
|
public bool IsAttached => User.IsAttached;
|
||||||
public bool IsBot => User.IsBot;
|
public bool IsBot => User.IsBot;
|
||||||
public string Mention => User.Mention;
|
public string Mention => User.Mention;
|
||||||
|
public string NicknameMention => User.NicknameMention;
|
||||||
public string Username => User.Username;
|
public string Username => User.Username;
|
||||||
|
|
||||||
public CachedDMUser(CachedGlobalUser user)
|
public CachedDMUser(CachedGlobalUser user)
|
||||||
|
|||||||
Reference in New Issue
Block a user