#pragma once #include #include #include #include namespace commands { class ICommand { public: //이 생성자를 명시적으로 호출할 것. ICommand(std::shared_ptr botCluster); virtual void operator()(const dpp::slashcommand_t &event) = 0; std::vector commandObjectVector; protected: std::shared_ptr botCluster; }; } namespace commands { class VCCommand : public ICommand { public: VCCommand(std::shared_ptr botCluster) : ICommand(botCluster) {} std::shared_ptr getQueue(const dpp::slashcommand_t& event); protected: std::unordered_map> *queueMap; }; }