Пример #1
0
 public static void SaveSettings()
 {
     BotUtils.WriteToJson(Settings, DataFileNames.GeneralConfigFile);
     KLog.Info("Settings Saved.");
 }
Пример #2
0
 public static void ReloadConfig()
 {
     LoadSettings();
     ServerData.SetupServerData(Settings);
     KLog.Info("Settings Reloaded");
 }