mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Experimental convoluted rain refactor to use Redis instead of semaphores
This commit is contained in:
@@ -40,6 +40,7 @@ public class BotServices
|
||||
private Owncast? _owncastStatusCheck;
|
||||
private ShuffleDotUs? _shuffleDotUs;
|
||||
private YouTubePubSub? _youTubePubSub;
|
||||
public KasinoRain? KasinoRain;
|
||||
|
||||
private Task? _websocketWatchdog;
|
||||
private Task? _howlggGetUserTimer;
|
||||
@@ -91,7 +92,8 @@ public class BotServices
|
||||
BuildPeerTubeLiveStatusCheck(),
|
||||
BuildOwncastLiveStatusCheck(),
|
||||
BuildShuffleDotUs(),
|
||||
BuildYouTubePubSub()
|
||||
BuildYouTubePubSub(),
|
||||
BuildKasinoRain()
|
||||
];
|
||||
try
|
||||
{
|
||||
@@ -107,6 +109,12 @@ public class BotServices
|
||||
_websocketWatchdog = WebsocketWatchdog();
|
||||
_howlggGetUserTimer = HowlggGetUserTimer();
|
||||
}
|
||||
|
||||
private async Task BuildKasinoRain()
|
||||
{
|
||||
_logger.Debug("Building the Kasino Rain thingy");
|
||||
KasinoRain = new KasinoRain(_chatBot, _cancellationToken);
|
||||
}
|
||||
|
||||
private async Task BuildShuffle()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user