mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-12 17:19:35 -04:00
Added a feature to shill the kasino almanac
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user