Implement everything that now requires the typed fields
This commit is contained in:
parent
194d025660
commit
2a468f1a95
@ -12,7 +12,26 @@ namespace ChaosBot
|
||||
|
||||
private static readonly Dictionary<string, Type> ConfigurationFlags = new Dictionary<string, Type>
|
||||
{
|
||||
{"LevelUp:Enabled", typeof(bool)},
|
||||
{"Bot:Name", typeof(string)},
|
||||
{"Bot:Version", typeof(string)},
|
||||
|
||||
{"WebServer:Port", typeof(int)},
|
||||
{"WebServer:Debug", typeof(bool)},
|
||||
|
||||
{"Discord:Prefix", typeof(string)},
|
||||
{"Discord:Token", typeof(string)},
|
||||
{"Discord:BaseUri", typeof(string)},
|
||||
{"Discord:ClientId", typeof(string)},
|
||||
{"Discord:ClientSecret", typeof(string)},
|
||||
|
||||
{"Lodestone:ChaosBotApi:ApiToken", typeof(string)},
|
||||
{"Lodestone:ChaosBotApi:Url", typeof(string)},
|
||||
|
||||
{"Database:Host", typeof(string)},
|
||||
{"Database:Port", typeof(int)},
|
||||
{"Database:User", typeof(string)},
|
||||
{"Database:Pass", typeof(string)},
|
||||
{"Database:Name", typeof(string)},
|
||||
};
|
||||
|
||||
public Configuration()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user