From 2a90152bc7b3a9009b3a90cbc021fde8383f4b9b Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 25 May 2024 00:30:01 +0500 Subject: feat: new command - chatters --- bot/src/localization/line_id.cpp | 4 ++++ bot/src/localization/line_id.hpp | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'bot/src/localization') 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 string_to_line_id(const std::string &str); -- cgit v1.2.3