добавил обработку счетчиков

This commit is contained in:
2026-02-14 11:26:45 +03:00
parent 5f53bdcf96
commit 63b7fa4ea1
12 changed files with 796 additions and 131 deletions
+3
View File
@@ -6,6 +6,7 @@
#include <QVector>
#include <QMap>
#include <QDate>
#include "countermanager.h"
#include "mediafilemanager.h"
#include "user_manager.h"
#include "ttw_api.h"
@@ -34,6 +35,7 @@ public:
RandomResponses* randomResponses = nullptr;
MediaFileManager* mediaFileManager = nullptr;
NeuralTemplateManager *neuralTemplateManager = nullptr;
CounterManager* counterManager = nullptr;
QString channel;
int notifyVolume = 50;
};
@@ -67,6 +69,7 @@ private:
QString parseAPI(const QString &response, const QString &sender);
QString parseAI(const QString &response, const QString &question);
QString parseNeuralTemplates(const QString &response, const QString &sender, const QString &parameters);
QString parseCounters(const QString &response);
QString extractParameters(const QString &fullCommand);
QString getUsernameByIndex(QString userIndex) const;