[Cleanup] Delete unused strings in bot_command.cpp (#3251)

# Notes
- These are unused.
This commit is contained in:
Alex King 2023-04-05 09:59:24 -04:00 committed by GitHub
parent 3e30e78158
commit 218ffbb2c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3589,7 +3589,6 @@ void bot_command_item_use(Client* c, const Seperator* sep)
}
}
std::string msg;
std::string text_link;
EQ::SayLinkEngine linker;
@ -5124,8 +5123,6 @@ void bot_subcommand_bot_clone(Client *c, const Seperator *sep)
return;
}
std::string error_message;
bool available_flag = false;
if (!database.botdb.QueryNameAvailablity(bot_name, available_flag)) {
c->Message(
@ -5559,8 +5556,6 @@ void bot_subcommand_bot_delete(Client *c, const Seperator *sep)
return;
}
std::string error_message;
if (!my_bot->DeleteBot()) {
c->Message(Chat::White, "Failed to delete '%s' due to database error", my_bot->GetCleanName());
return;
@ -6959,7 +6954,6 @@ void bot_subcommand_bot_toggle_helm(Client *c, const Seperator *sep)
}
if (ab_type == ActionableBots::ABT_All) {
std::string query;
if (toggle_helm) {
if (!database.botdb.ToggleAllHelmAppearances(c->CharacterID()))
c->Message(Chat::White, "%s", BotDatabase::fail::ToggleAllHelmAppearances());