Browse Source

Updated ModifyStatus sample

tags/1.0-rc
zenima 8 years ago
parent
commit
13f48424d5
1 changed files with 3 additions and 6 deletions
  1. +3
    -6
      docs/guides/samples/faq/status.cs

+ 3
- 6
docs/guides/samples/faq/status.cs View File

@@ -1,8 +1,5 @@
public async Task ModifyStatus()
{
await (await _client.GetCurrentUserAsync()).ModifyStatusAsync(x =>
{
x.Status = UserStatus.Idle;
x.Game = new Game("Type !help for help");
});
}
await _client.SetStatus(UserStatus.Idle);
await _client.SetGame("Type !help for help");
}

Loading…
Cancel
Save