Allow null value to reset IGuildUser nickname (#923)
* Added workaround for UserHelper#ModifyAsync that accepts null values as a way to reset user nicknames * Update comments * Update comment to use see tag
This commit is contained in:
committed by
Christopher F
parent
b30af57b7f
commit
227f61aa4e
@@ -34,7 +34,7 @@ namespace Discord
|
||||
/// Should the user have a nickname set?
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// To clear the user's nickname, this value can be set to null.
|
||||
/// To clear the user's nickname, this value can be set to <see langword="null" /> or <see cref="string.Empty" />.
|
||||
/// </remarks>
|
||||
public Optional<string> Nickname { get; set; }
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user