This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
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
Fixed SetStatus/Game
pull/22/merge
RogueException
9 years ago
parent
e42c7d290f
commit
72f1e6161a
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
src/Discord.Net/DiscordClient.cs
+ 2
- 0
src/Discord.Net/DiscordClient.cs
View File
@@ -298,10 +298,12 @@ namespace Discord
throw new ArgumentException($"Invalid status, must be {UserStatus.Online} or {UserStatus.Idle}", nameof(status));
Status = status;
SendStatus();
}
public void SetGame(string game)
{
CurrentGame = game;
SendStatus();
}
private void SendStatus()
{
Write
Preview
Loading…
Cancel
Save