Fixed raid spam prevention. Gave a proper error message when connecting to Twitch websockets without linking Twitch account to Twitch.

This commit is contained in:
Tom
2024-08-07 22:01:04 +00:00
parent e4a11382ef
commit 6eb927ce5f
10 changed files with 162 additions and 84 deletions

View File

@@ -176,7 +176,7 @@ namespace TwitchChatTTS.Twitch.Socket
_logger.Warning("Twitch websocket message payload is null.");
return;
}
await handler.Execute(this, data);
await Task.Run(async () => await handler.Execute(this, data));
}
public async Task Send<T>(string type, T data)