diff options
| author | ilotterytea <iltsu@alright.party> | 2024-12-14 23:23:12 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-12-14 23:23:12 +0500 |
| commit | 1134c8316e5ee445567f9bf225e9fb9c2631b4dc (patch) | |
| tree | 05380fdd9ab9b40af9443bb5e0cd52aeec36a53a /bot/src/localization/line_id.cpp | |
| parent | 79c39906131bb72780da96ccc6eb43524dec3350 (diff) | |
feat: settings command
Diffstat (limited to 'bot/src/localization/line_id.cpp')
| -rw-r--r-- | bot/src/localization/line_id.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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; } |
