cache available languages and make translator shared

This commit is contained in:
Syping 2024-03-25 10:52:01 +01:00
parent 0e369f5a1d
commit b1329aa961
8 changed files with 69 additions and 52 deletions

View file

@ -33,6 +33,7 @@ namespace bot {
private:
std::string m_apiKey;
std::string m_hostname;
supported_languages m_languages;
};
}
}