From 1134c8316e5ee445567f9bf225e9fb9c2631b4dc Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Sat, 14 Dec 2024 23:23:12 +0500 Subject: feat: settings command --- bot/src/localization/line_id.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'bot/src/localization/line_id.cpp') diff --git a/bot/src/localization/line_id.cpp b/bot/src/localization/line_id.cpp index dabd85a..7f17378 100644 --- a/bot/src/localization/line_id.cpp +++ b/bot/src/localization/line_id.cpp @@ -96,6 +96,16 @@ namespace bot { return LineId::ChattersResponse; } + else if (str == "set.locale") { + return LineId::SetLocale; + } else if (str == "set.prefix") { + return LineId::SetPrefix; + } else if (str == "set.feature.disabled") { + return LineId::SetFeatureDisabled; + } else if (str == "set.feature.enabled") { + return LineId::SetFeatureEnabled; + } + else { return std::nullopt; } -- cgit v1.2.3