mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Added option to disable DLive since it has shutdown
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user