summaryrefslogtreecommitdiff
path: root/bot/src/localization/localization.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2024-12-14 23:12:22 +0500
committerilotterytea <iltsu@alright.party>2024-12-14 23:12:22 +0500
commit79c39906131bb72780da96ccc6eb43524dec3350 (patch)
tree9f8a4e6b3f5d858ad20a3cbaeaec1894f352463a /bot/src/localization/localization.hpp
parentb96792078a350b02c6d3e650bbe5c42b665bee7e (diff)
feat: a method for getting loaded localizations
Diffstat (limited to 'bot/src/localization/localization.hpp')
-rw-r--r--bot/src/localization/localization.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/src/localization/localization.hpp b/bot/src/localization/localization.hpp
index 4626c68..55b56a0 100644
--- a/bot/src/localization/localization.hpp
+++ b/bot/src/localization/localization.hpp
@@ -26,6 +26,8 @@ namespace bot {
const command::Request &request, const LineId &line_id,
const std::vector<std::string> &args) const;
+ const std::vector<std::string> get_loaded_localizations() const;
+
private:
std::unordered_map<LineId, std::string> load_from_file(
const std::string &file_path);