summaryrefslogtreecommitdiff
path: root/bot/src/localization
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/localization')
-rw-r--r--bot/src/localization/line_id.cpp4
-rw-r--r--bot/src/localization/line_id.hpp4
2 files changed, 7 insertions, 1 deletions
diff --git a/bot/src/localization/line_id.cpp b/bot/src/localization/line_id.cpp
index 567a3ba..dabd85a 100644
--- a/bot/src/localization/line_id.cpp
+++ b/bot/src/localization/line_id.cpp
@@ -92,6 +92,10 @@ namespace bot {
return LineId::HelpResponse;
}
+ else if (str == "chatters.response") {
+ return LineId::ChattersResponse;
+ }
+
else {
return std::nullopt;
}
diff --git a/bot/src/localization/line_id.hpp b/bot/src/localization/line_id.hpp
index 41ceec6..6d7729e 100644
--- a/bot/src/localization/line_id.hpp
+++ b/bot/src/localization/line_id.hpp
@@ -48,7 +48,9 @@ namespace bot {
TimerNew,
TimerDelete,
- HelpResponse
+ HelpResponse,
+
+ ChattersResponse
};
std::optional<LineId> string_to_line_id(const std::string &str);