summaryrefslogtreecommitdiff
path: root/src/modules/custom_command.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/custom_command.hpp')
-rw-r--r--src/modules/custom_command.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/custom_command.hpp b/src/modules/custom_command.hpp
index 0757a20..50b3692 100644
--- a/src/modules/custom_command.hpp
+++ b/src/modules/custom_command.hpp
@@ -18,7 +18,7 @@ namespace bot {
}
std::vector<std::string> get_subcommand_ids() const override {
- return {"new", "delete"};
+ return {"new", "remove"};
}
std::variant<std::vector<std::string>, std::string> run(
@@ -72,7 +72,7 @@ namespace bot {
.get_formatted_line(request, loc::LineId::CustomcommandNew,
{name})
.value();
- } else if (subcommand_id == "delete") {
+ } else if (subcommand_id == "remove") {
if (cmds.empty()) {
throw ResponseException<ResponseError::NOT_FOUND>(
request, bundle.localization, name);