/// <summary> /// Deletes the current Dialog. /// WARNING: No confirmation dialog implemented. /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void buttonTextCommandDelete_Click(object sender, EventArgs e) { if (BotFile.DeleteCommand(comboBoxTextCommands.Text)) { Console.WriteLine("Deleted command!"); } else { Console.WriteLine("Unable to delete command! >:("); } RefreshCommands(); SaveMaoubotConfig(); }