Big update introducing ghetto command interface, settings, database and howl.gg bet feed scraping

This commit is contained in:
barelyprofessional
2024-07-18 01:37:15 +10:00
parent 936bf743a5
commit d61a171e54
46 changed files with 2198 additions and 218 deletions

View File

@@ -92,7 +92,8 @@ public class KickWsClient
private void WsDisconnection(DisconnectionInfo disconnectionInfo)
{
_logger.Error($"Client disconnected from the chat (or never successfully connected). Type is {disconnectionInfo.Type}");
_logger.Error(JsonSerializer.Serialize(disconnectionInfo));
_logger.Error($"Close Status => {disconnectionInfo.CloseStatus}; Close Status Description => {disconnectionInfo.CloseStatusDescription}");
_logger.Error(disconnectionInfo.Exception);
OnWsDisconnection?.Invoke(this, disconnectionInfo);
}
@@ -264,7 +265,7 @@ public class KickWsClient
return;
}
default:
_logger.Info("Event unhandled. JOSN payload follows");
_logger.Info("Event unhandled. JSON payload follows");
_logger.Info(message.Text);
break;
}

View File

@@ -8,8 +8,8 @@
<ItemGroup>
<PackageReference Include="NLog" Version="5.2.8" />
<PackageReference Include="System.Text.Json" Version="8.0.3" />
<PackageReference Include="Websocket.Client" Version="5.1.1" />
<PackageReference Include="System.Text.Json" Version="8.0.4" />
<PackageReference Include="Websocket.Client" Version="5.1.2" />
</ItemGroup>
</Project>