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
stringNew username
base64Avatar
stringNew avatar (base64)
base64Banner
stringNew 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
stringusername
avatar
Streamavatar
banner
StreamNew banner
Returns
- Task<DiscordUser>