summaryrefslogtreecommitdiff
path: root/src/modules/timer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/timer.hpp')
-rw-r--r--src/modules/timer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/timer.hpp b/src/modules/timer.hpp
index 03e319e..36c3982 100644
--- a/src/modules/timer.hpp
+++ b/src/modules/timer.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(
@@ -89,7 +89,7 @@ namespace bot {
return bundle.localization
.get_formatted_line(request, loc::LineId::TimerNew, {name})
.value();
- } else if (subcommand_id == "delete") {
+ } else if (subcommand_id == "remove") {
if (timers.empty()) {
throw ResponseException<ResponseError::NOT_FOUND>(
request, bundle.localization, name);