added message splitting

This commit is contained in:
Syping 2024-01-20 22:39:23 +01:00
parent 06dec819ff
commit 7700bd7b26
4 changed files with 68 additions and 17 deletions

View file

@ -66,7 +66,7 @@ void bot::message_queue::run(bot::settings::settings *settings, bot::submit_queu
};
if (!tr_apiKey.empty())
json_body.emplace("apiKey", tr_apiKey);
json_body["apiKey"] = tr_apiKey;
const dpp::http_headers http_headers = {
{"Content-Type", "application/json"}