feature: Make bidirectional formatting optional (#2204)
* Init * Clearing up comment on config entry. * Update user entities to remove storage of the setting Co-authored-by: Quin Lynch <lynchquin@gmail.com>
This commit is contained in:
@@ -187,5 +187,15 @@ namespace Discord
|
||||
/// <b>This will still require a stable clock on your system.</b>
|
||||
/// </remarks>
|
||||
public bool UseInteractionSnowflakeDate { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets if the Rest/Socket user <see cref="object.ToString"/> override formats the string in respect to bidirectional unicode.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// By default, the returned value will be "?Discord?#1234", to work with bidirectional usernames.
|
||||
/// <br/>
|
||||
/// If set to <see langword="false"/>, this value will be "Discord#1234".
|
||||
/// </remarks>
|
||||
public bool FormatUsersInBidirectionalUnicode { get; set; } = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user