mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-10-26 09:55:14 +00:00
코드 갈어엎기(사용성 개박살났으니 빌드는 이전 것으로 할 것.)
This commit is contained in:
@@ -2,15 +2,20 @@
|
||||
#include <Commands/CommandType.hpp>
|
||||
#include <dpp/dpp.h>
|
||||
#include <memory>
|
||||
#include <mariadb/conncpp.hpp>
|
||||
|
||||
class IBot {
|
||||
public:
|
||||
IBot(std::string token, int totalShard);
|
||||
void start();
|
||||
void onCommand(const dpp::slashcommand_t &event);
|
||||
void onReady(const dpp::ready_t &event);
|
||||
IBot(std::string token, int clusterCount, std::string DBURL, std::string DBID, std::string DBPassword);
|
||||
virtual void start();
|
||||
virtual void onCommand(const dpp::slashcommand_t &event);
|
||||
virtual void onReady(const dpp::ready_t &event);
|
||||
|
||||
std::shared_ptr<dpp::cluster> botCluster;
|
||||
std::vector<std::shared_ptr<dpp::cluster>> botClusters;
|
||||
std::vector<std::shared_ptr<commands::ICommand>> commandsArray;
|
||||
|
||||
protected:
|
||||
sql::Driver* DBDriver;
|
||||
std::shared_ptr<sql::SQLString> DBURL;
|
||||
std::shared_ptr<sql::Properties> DBProperties;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user