Discore
Show / Hide Table of Contents

Method ModifyCurrentUser

| Improve this Doc View Source

ModifyCurrentUser(string?, DiscordImageData?)

Modifies the current bot's user object. Parameters left null will leave the properties unchanged.

Declaration
public Task<DiscordUser> ModifyCurrentUser(string? username = null, DiscordImageData? avatar = null)
Parameters
Type Name Description
string username
DiscordImageData avatar
Returns
Type Description
Task<DiscordUser>
Exceptions
Type Condition
DiscordHttpApiException
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX