Browse Source

Update status.cs

SetStatus and SetGame don't exist, only SetStatusAsync and SetGameAsync
tags/1.0-rc
RyadaProductions GitHub 8 years ago
parent
commit
e3d31c5bd1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      docs/guides/samples/faq/status.cs

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

@@ -1,5 +1,5 @@
public async Task ModifyStatus() public async Task ModifyStatus()
{ {
await _client.SetStatus(UserStatus.Idle);
await _client.SetGame("Type !help for help");
await _client.SetStatusAsync(UserStatus.Idle);
await _client.SetGameAsync("Type !help for help");
} }

Loading…
Cancel
Save