Update Documentation to be compatible with Beta2
this one took a while
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
public async Task ChangeAvatar()
|
||||
{
|
||||
var fileStream = new FileStream("./newAvatar.png", FileMode.Open);
|
||||
await (await _client.GetCurrentUserAsync()).ModifyAsync(x => x.Avatar = fileStream);
|
||||
await _client.CurrentUser.ModifyAsync(x => x.Avatar = fileStream);
|
||||
}
|
||||
Reference in New Issue
Block a user