Fixed SetStatus/Game

This commit is contained in:
RogueException
2015-12-30 14:30:57 -04:00
parent e42c7d290f
commit 72f1e6161a

View File

@@ -298,10 +298,12 @@ namespace Discord
throw new ArgumentException($"Invalid status, must be {UserStatus.Online} or {UserStatus.Idle}", nameof(status)); throw new ArgumentException($"Invalid status, must be {UserStatus.Online} or {UserStatus.Idle}", nameof(status));
Status = status; Status = status;
SendStatus();
} }
public void SetGame(string game) public void SetGame(string game)
{ {
CurrentGame = game; CurrentGame = game;
SendStatus();
} }
private void SendStatus() private void SendStatus()
{ {