feature: Handle bidirectional usernames (#1943)
* Initial implementation * Update summary
This commit is contained in:
@@ -109,8 +109,8 @@ namespace Discord.WebSocket
|
||||
/// <returns>
|
||||
/// The full name of the user.
|
||||
/// </returns>
|
||||
public override string ToString() => $"{Username}#{Discriminator}";
|
||||
private string DebuggerDisplay => $"{Username}#{Discriminator} ({Id}{(IsBot ? ", Bot" : "")})";
|
||||
public override string ToString() => Format.UsernameAndDiscriminator(this);
|
||||
private string DebuggerDisplay => $"{Format.UsernameAndDiscriminator(this)} ({Id}{(IsBot ? ", Bot" : "")})";
|
||||
internal SocketUser Clone() => MemberwiseClone() as SocketUser;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user