Exemple #1
0
        public async Task OnReady()
        {
            SetupGeneral();

            await GeneralHandler.UpdateRoleMessage();  // fix the role selection message on startup

            Ready = true;
            KLog.Important("Ready!");
        }
Exemple #2
0
 public static void SaveSettings()
 {
     BotUtils.WriteToJson(Settings, DataFileNames.GeneralConfigFile);
     KLog.Info("Settings Saved.");
 }
Exemple #3
0
 public static void ReloadConfig()
 {
     LoadSettings();
     ServerData.SetupServerData(Settings);
     KLog.Info("Settings Reloaded");
 }