Table of Contents

Method ModifyCurrentUserAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

ModifyCurrentUserAsync(string, string, string)

Modifies current user

public Task<DiscordUser> ModifyCurrentUserAsync(string username, string base64Avatar, string base64Banner)

Parameters

username string

New username

base64Avatar string

New avatar (base64)

base64Banner string

New banner (base64)

Returns

Task<DiscordUser>

ModifyCurrentUserAsync(string, Stream?, Stream?)

Modifies current user

public Task<DiscordUser> ModifyCurrentUserAsync(string username = null, Stream? avatar = null, Stream? banner = null)

Parameters

username string

username

avatar Stream

avatar

banner Stream

New banner

Returns

Task<DiscordUser>