22 lines
No EOL
506 B
C#
22 lines
No EOL
506 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace SecondBotEvents.Config
|
|
{
|
|
public class HttpConfig(bool fromENV, string fromFolder = "") : Config(fromENV, fromFolder)
|
|
{
|
|
protected override void MakeSettings()
|
|
{
|
|
filename = "http";
|
|
settings.Add("Enabled");
|
|
settings.Add("HideStatusOutput");
|
|
}
|
|
|
|
public bool GetEnabled()
|
|
{
|
|
return ReadSettingAsBool("Enabled", true);
|
|
}
|
|
}
|
|
|
|
} |