join, play 구현

This commit is contained in:
2023-12-12 22:20:01 +09:00
parent 8b0d0bbff7
commit b2f40f21cf
26 changed files with 526 additions and 108 deletions

View File

@@ -1,9 +1,19 @@
#pragma once
#include "CommandType.hpp"
#include <dpp/dpp.h>
#include <memory>
class IBot{
class IBot {
private:
public:
void test();
IBot(std::string Token);
void AddCommand(ICommand &Command);
void Start();
std::shared_ptr<dpp::cluster> bot;
protected:
virtual void OnReady(const dpp::ready_t& event);
virtual void OnCommand(const dpp::slashcommand_t& event);
std::vector<ICommand*> CommandsArray;
};