public async Task OnReady() { SetupGeneral(); await GeneralHandler.UpdateRoleMessage(); // fix the role selection message on startup Ready = true; KLog.Important("Ready!"); }
public static void SaveSettings() { BotUtils.WriteToJson(Settings, DataFileNames.GeneralConfigFile); KLog.Info("Settings Saved."); }
public static void ReloadConfig() { LoadSettings(); ServerData.SetupServerData(Settings); KLog.Info("Settings Reloaded"); }