committed by
RogueException
parent
fb0a056d76
commit
5f04e2beba
@@ -360,7 +360,7 @@ namespace Discord.WebSocket
|
|||||||
private async Task SendStatusAsync()
|
private async Task SendStatusAsync()
|
||||||
{
|
{
|
||||||
if (CurrentUser == null)
|
if (CurrentUser == null)
|
||||||
throw new InvalidOperationException("Presence data cannot be sent before the client has logged in.");
|
return;
|
||||||
var game = Game;
|
var game = Game;
|
||||||
var status = Status;
|
var status = Status;
|
||||||
var statusSince = _statusSince;
|
var statusSince = _statusSince;
|
||||||
|
|||||||
Reference in New Issue
Block a user