This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Updated ModifyStatus sample
tags/1.0-rc
zenima
8 years ago
parent
cabbd0de89
commit
13f48424d5
1 changed files
with
3 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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");
}
Write
Preview
Loading…
Cancel
Save