summaryrefslogtreecommitdiff
path: root/bot/src/localization
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-05-25 00:30:01 +0500
committerilotterytea <iltsu@alright.party>2024-05-25 00:30:01 +0500
commit2a90152bc7b3a9009b3a90cbc021fde8383f4b9b (patch)
tree876190f88c9010c91f2cf81dadbc52c13565afa6 /bot/src/localization
parent59b52bfab39d98a11052497ab387011a9835ef1b (diff)
feat: new command - chatters
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);