добавил обработку счетчиков
This commit is contained in:
@@ -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 ¶meters);
|
||||
QString parseCounters(const QString &response);
|
||||
|
||||
QString extractParameters(const QString &fullCommand);
|
||||
QString getUsernameByIndex(QString userIndex) const;
|
||||
|
||||
Reference in New Issue
Block a user