Added option to disable DLive since it has shutdown

This commit is contained in:
barelyprofessional
2026-05-01 21:13:26 -05:00
parent 972e880aa9
commit cf62274b4b
2 changed files with 6 additions and 2 deletions

View File

@@ -390,12 +390,13 @@ public class BotServices
_logger.Info("Built the almanac shill task");
}
private Task BuildDLiveStatusCheck()
private async Task BuildDLiveStatusCheck()
{
var enabled = (await SettingsProvider.GetValueAsync(BuiltIn.Keys.DLiveEnabled)).ToBoolean();
if (!enabled) return;
_dliveStatusCheck = new DLive(_chatBot);
_dliveStatusCheck.StartLiveStatusCheck();
_logger.Info("Built the DLive livestream status check task");
return Task.CompletedTask;
}
private Task BuildPeerTubeLiveStatusCheck()