SecondBot/SecondBotEvents/Config/HttpConfig.cs
Madpeter c5e4543c9a improvements
adjust docker file to be less spammy with ENV as defaults work most of the time, add support to adjust how fast the chat AI forgets messages that dont go over the X last messages counter
2024-10-01 15:56:38 +01:00

23 lines
No EOL
542 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace SecondBotEvents.Config
{
public class HttpConfig: Config
{
public HttpConfig(bool fromENV, string fromFolder = "") : base(fromENV, fromFolder) { }
protected override void MakeSettings()
{
filename = "http";
settings.Add("Enabled");
settings.Add("HideStatusOutput");
}
public bool GetEnabled()
{
return ReadSettingAsBool("Enabled", true);
}
}
}