Table of Contents

Class SelfUserProperties

Namespace
Discord
Assembly
Discord.Net.Core.dll

Properties that are used to modify the ISelfUser with the specified changes.

public class SelfUserProperties
Inheritance
SelfUserProperties
Inherited Members

Examples

The following example uses ModifyAsync to apply changes specified in the properties,

await selfUser.ModifyAsync(x =>
{
    x.Username = "Mercy";
});

Properties

Avatar

Gets or sets the avatar.

public Optional<Image?> Avatar { get; set; }

Property Value

Optional<Image?>

Banner

Gets or sets the banner.

public Optional<Image?> Banner { get; set; }

Property Value

Optional<Image?>

Username

Gets or sets the username.

public Optional<string> Username { get; set; }

Property Value

Optional<string>

See Also