음챗 나가기 구현 완료

This commit is contained in:
2023-12-28 00:06:34 +09:00
parent 8a987320e0
commit 52c4bdf3d4
780 changed files with 260 additions and 162577 deletions

View File

@@ -0,0 +1,19 @@
#ifndef _LEAVE_HPP_
#define _LEAVE_HPP_
#include <CommandType.hpp>
#include <BumbleCeepp.hpp>
#include <memory>
namespace Commands {
class Leave : public ICommand {
public:
Leave(std::shared_ptr<BumbleCeepp> Bot);
void operator()(const dpp::slashcommand_t& Event) {}
void operator()(std::list<FQueueElement>& MusicQueue, const dpp::slashcommand_t& Event);
private:
std::shared_ptr<BumbleCeepp> Bot;
};
}
#endif

View File

@@ -4,14 +4,16 @@
#include <BumbleCeepp.hpp>
#include <memory>
class Play : public ICommand {
public:
Play(std::shared_ptr<BumbleCeepp> Bot);
namespace Commands {
class Play : public ICommand {
public:
Play(std::shared_ptr<BumbleCeepp> Bot);
void operator()(const dpp::slashcommand_t& Event) {}
void operator()(std::list<FQueueElement>& MusicQueue, const dpp::slashcommand_t& Event);
private:
std::shared_ptr<BumbleCeepp> Bot;
};
void operator()(const dpp::slashcommand_t& Event) {}
void operator()(std::list<FQueueElement>& MusicQueue, const dpp::slashcommand_t& Event);
private:
std::shared_ptr<BumbleCeepp> Bot;
};
}
#endif

View File

@@ -4,14 +4,16 @@
#include <BumbleCeepp.hpp>
#include <memory>
class Queue : public ICommand {
public:
Queue(std::shared_ptr<BumbleCeepp> Bot);
namespace Commands {
class Queue : public ICommand {
public:
Queue(std::shared_ptr<BumbleCeepp> Bot);
void operator()(const dpp::slashcommand_t& Event) {}
void operator()(std::list<FQueueElement>& MusicQueue, const dpp::slashcommand_t& Event);
private:
std::shared_ptr<BumbleCeepp> Bot;
};
void operator()(const dpp::slashcommand_t& Event) {}
void operator()(std::list<FQueueElement>& MusicQueue, const dpp::slashcommand_t& Event);
private:
std::shared_ptr<BumbleCeepp> Bot;
};
}
#endif

View File

@@ -4,14 +4,16 @@
#include <BumbleCeepp.hpp>
#include <memory>
class Repeat : public ICommand {
public:
Repeat(std::shared_ptr<BumbleCeepp> Bot);
namespace Commands {
class Repeat : public ICommand {
public:
Repeat(std::shared_ptr<BumbleCeepp> Bot);
void operator()(const dpp::slashcommand_t& Event) {}
void operator()(std::list<FQueueElement>& MusicQueue, const dpp::slashcommand_t& Event);
private:
std::shared_ptr<BumbleCeepp> Bot;
};
void operator()(const dpp::slashcommand_t& Event) {}
void operator()(std::list<FQueueElement>& MusicQueue, const dpp::slashcommand_t& Event);
private:
std::shared_ptr<BumbleCeepp> Bot;
};
}
#endif

View File

@@ -4,14 +4,16 @@
#include <BumbleCeepp.hpp>
#include <memory>
class Skip : public ICommand {
public:
Skip(std::shared_ptr<BumbleCeepp> Bot);
namespace Commands {
class Skip : public ICommand {
public:
Skip(std::shared_ptr<BumbleCeepp> Bot);
void operator()(const dpp::slashcommand_t& Event) {}
void operator()(std::list<FQueueElement>& MusicQueue, const dpp::slashcommand_t& Event);
private:
std::shared_ptr<BumbleCeepp> Bot;
};
void operator()(const dpp::slashcommand_t& Event) {}
void operator()(std::list<FQueueElement>& MusicQueue, const dpp::slashcommand_t& Event);
private:
std::shared_ptr<BumbleCeepp> Bot;
};
}
#endif