Fixed SetStatus/Game
This commit is contained in:
@@ -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()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user