From c81d05940af461cc9a5395f9a1dce54f1c065ae3 Mon Sep 17 00:00:00 2001 From: Jonathan Sider Date: Sat, 8 Jul 2023 21:00:28 -0700 Subject: [PATCH] [Bots] Remove orphaned commands related to botgroup (#3489) --- zone/bot_command.cpp | 13 ------------- zone/bot_command.h | 1 - 2 files changed, 14 deletions(-) diff --git a/zone/bot_command.cpp b/zone/bot_command.cpp index d42c19b97..56e691bb2 100644 --- a/zone/bot_command.cpp +++ b/zone/bot_command.cpp @@ -2815,19 +2815,6 @@ void bot_command_bot(Client *c, const Seperator *sep) helper_send_available_subcommands(c, "bot", subcommand_list); } -void bot_command_botgroup(Client *c, const Seperator *sep) -{ - const std::list subcommand_list = { - "botgroupaddmember", "botgroupcreate", "botgroupdelete", "botgrouplist", "botgroupload", "botgroupremovemember" - }; - - if (helper_command_alias_fail(c, "bot_command_botgroup", sep->arg[0], "botgroup")) { - return; - } - - helper_send_available_subcommands(c, "bot-group", subcommand_list); -} - void bot_command_charm(Client *c, const Seperator *sep) { auto local_list = &bot_command_spells[BCEnum::SpT_Charm]; diff --git a/zone/bot_command.h b/zone/bot_command.h index af608b7e0..83c543108 100644 --- a/zone/bot_command.h +++ b/zone/bot_command.h @@ -552,7 +552,6 @@ void bot_command_apply_potion(Client* c, const Seperator* sep); void bot_command_attack(Client *c, const Seperator *sep); void bot_command_bind_affinity(Client *c, const Seperator *sep); void bot_command_bot(Client *c, const Seperator *sep); -void bot_command_botgroup(Client *c, const Seperator *sep); void bot_command_caster_range(Client* c, const Seperator* sep); void bot_command_charm(Client *c, const Seperator *sep); void bot_command_cure(Client *c, const Seperator *sep);