mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Refactored naming for Kasino Mines and decoupled it from BotServices as it has no long lived tasks or whatever
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Text.Json;
|
||||
using System.Text.Json;
|
||||
using Humanizer;
|
||||
using KfChatDotNetBot.Extensions;
|
||||
using KfChatDotNetBot.Models;
|
||||
@@ -41,7 +41,6 @@ public class BotServices
|
||||
private ShuffleDotUs? _shuffleDotUs;
|
||||
private YouTubePubSub? _youTubePubSub;
|
||||
public KasinoRain? KasinoRain;
|
||||
public KasinoMines KasinoMines;
|
||||
|
||||
private Task? _websocketWatchdog;
|
||||
private Task? _howlggGetUserTimer;
|
||||
@@ -94,8 +93,7 @@ public class BotServices
|
||||
BuildOwncastLiveStatusCheck(),
|
||||
BuildShuffleDotUs(),
|
||||
BuildYouTubePubSub(),
|
||||
BuildKasinoRain(),
|
||||
BuildKasinoMines()
|
||||
BuildKasinoRain()
|
||||
];
|
||||
try
|
||||
{
|
||||
@@ -117,12 +115,6 @@ public class BotServices
|
||||
_logger.Debug("Building the Kasino Rain thingy");
|
||||
KasinoRain = new KasinoRain(_chatBot, _cancellationToken);
|
||||
}
|
||||
|
||||
private async Task BuildKasinoMines()
|
||||
{
|
||||
_logger.Debug("Building the Kasino mines service");
|
||||
KasinoMines = new KasinoMines(_chatBot, _cancellationToken);
|
||||
}
|
||||
|
||||
private async Task BuildShuffle()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user