Added a feature to shill the kasino almanac

This commit is contained in:
barelyprofessional
2025-03-22 20:17:26 +08:00
parent 908c0e6dc4
commit 94f8c8de08
5 changed files with 193 additions and 1 deletions
+10 -1
View File
@@ -28,6 +28,7 @@ public class BotServices
private Rainbet _rainbet;
private Chipsgg _chipsgg;
private Clashgg _clashgg;
public AlmanacShill AlmanacShill;
private Task? _websocketWatchdog;
private Task? _howlggGetUserTimer;
@@ -71,7 +72,8 @@ public class BotServices
BuildChipsgg(),
BuildKick(),
BuildTwitch(),
BuildClashgg()
BuildClashgg(),
BuildAlmanacShill()
];
try
{
@@ -240,6 +242,13 @@ public class BotServices
await _twitchChat.StartWsClient();
}
private async Task BuildAlmanacShill()
{
AlmanacShill = new AlmanacShill(_chatBot);
AlmanacShill.StartShillTask();
_logger.Info("Built the almanac shill task");
}
private async Task WebsocketWatchdog()
{
using var timer = new PeriodicTimer(TimeSpan.FromSeconds(10));