Updated ModifyStatus sample
This commit is contained in:
@@ -1,8 +1,5 @@
|
|||||||
public async Task ModifyStatus()
|
public async Task ModifyStatus()
|
||||||
{
|
{
|
||||||
await (await _client.GetCurrentUserAsync()).ModifyStatusAsync(x =>
|
await _client.SetStatus(UserStatus.Idle);
|
||||||
{
|
await _client.SetGame("Type !help for help");
|
||||||
x.Status = UserStatus.Idle;
|
}
|
||||||
x.Game = new Game("Type !help for help");
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user